/42-libft

My very first own library

Primary LanguageCMIT LicenseMIT

42-libft

My very first own C library

About:

This project is part of 42 São Paulo cursus. Libft aims to code a C library regrouping usual functions.

This library has been tested in MacOs and Linux environment.

How to use:

  1. Open terminal.
  2. Change to a directory you want to use.
  3. Clone:
git clone https://github.com/LucasNative/42-libft.git libft
  1. Chance for libft directory.
  • For compile, type:
make all
  • For clean the objecs files *.o:
make clean
  • For clean all compiled files:
make fclean
  • For clean and recompile:
make re

include this header:

#include "libft.h"

Compile your project using libft.a file, exemple:

gcc main.c libft.a

Any problem? Send me a message on Instagram @lucasnative || Twitter @lucasdanielsan I will be grateful to answer! :)