This project was made in accordance with the project of School 21 (Ecole 42).
The purpose of this project is to create own C library that implements original functions from the standard library.
You can see the subject here: Libft.
Main requirements, rules and code style: Norm.
Makefile compiles given functions into C static library file.
Compiler: gcc
Flags: -Wall
-Werror
-Wextra
- Go to the project folder:
$ cd 'path_to_libft'
- Then typo one of these command:
Command | Description |
---|---|
make |
compiling mandatory part |
make bonus |
compiling mandatory and bonus part |
make clean |
clearing all .o files |
make fclean |
clearing all .o files and library |
- To use compiled project in your code just include library header:
#include "libft.h"
- While compiling your code add these flags:
-lft -L 'path_to_libft.a' -I 'path_to_libft.h'
-
You can check code norm due to norminette.
-
These are some testers for
libft
project: