This project aims to recreate some standard C library functions and introduce additional ones that can be utilized to build a library of useful functions for the program.
Recreating select functions from the libc library.
Creating functions for utilizing linked lists.
git clone https://github.com/niamu01/libft
cd libft
make [all, re, clean, fclean, bonus]make all: Compiles mandatory files and creates the libft.a file.make re: Performs an incremental build.make clean: Removes object files.make fclean: Removes object files and the library file.make bonus: Builds, including bonus functions in the library.
This project compiles various functions into a single library file and prevent relinking.
You can use the libft.a file generated by make in another project
gcc -o my_program my_source.c -L/path/to/libft -lft๐ก Ensure the
/path/to/libftis replaced with the actual path to yourlibft.afile.