A static C library containing utility functions and reimplementations of common libc functions. This library is a jumpstart to the 42 school course and is used throughout it.
1- Clone this repository
git clone https://github.com/Kuninoto/42_Libft
2- Run make
make
3- Run make clean
so that you don't keep the object files that you won't need anymore
make clean
4- Compile your project (e.g. main.c
) with your new libft.a
cc -Wall -Wextra -Werror main.c libft.a
make
or make all
- Makes libft.a
make bonus
- Makes libft.a
with bonus functions (not mandatory as part of the mandatory part of the project)
make clean
- Deletes all the resulting object files
make fclean
- Deletes libft.a
and all the resulting object files
make re
- Deletes everything (object files and libft.a
) and rebuilds libft.a
- Add their prototypes to
libft.h
- Add their source files to this repository
- Add their source file names to
LIB_SRCS
variable on the Makefile
At 42 School, almost every project must be written in accordance to the "Norm", the schools' coding standard. As a result, the implementation of certain parts may appear strange and for sure had room for improvement.
Made by Nuno Carvalho (Kuninoto) | [email protected]