Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.47 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.47 KB

#WeThinkCode_ Semi-C-Library

For safety, recorded and trackable history of the growth of this C-library and for sharing this work and contributing back to it, we have decided to keep it here.

Feel free to fork the repository and use this library. Also if you would like to contribute back, push to the repository that you will have forked and do a pull request.

But please, test your code before commiting and pushing into your fork, because we will not merge any pull requests that will break the library or the Norme.

######Learn more about forking a repository here and about pull requests here. ######If you are completely new to the concept of version control, you might want to start here.

##How to make the library (libft.a)?

Assuming that you have the clone of the repository.
$ cd libft/  //Go to where the library recipe is at.
$ make      //Make the library from the recipe.

Now libft.a must be part of the working directory.

##How to use the library (linking to a program)?

Assuming that you have your main.c in the libft_test directory of the repository.
$ alias run='gcc -Wall -Werror -Wextra' //This could save you a lot time.
$ run ./libft_test/main.c -c -I./includes/ -L. -lft

And you're good to go!!!

###REMEMBER ####To Respect the Norme