Program name | Files to turn in | Makefile rules | External Functions | Result |
---|---|---|---|---|
libft.a | Makefile, libft.h, *.c, | NAME, all, clean, fclean, re, (bonus) | malloc, free, write | 125/100% |
Write your own library: a collection of functions that will be a useful tool for your cursus.
make
or
make bonus
Now you have a file called libft.a
, use any funuction of the libft and compile you code with the archive.
gcc | cc | clang [flags] c_program.c libft/libft.a