Skip to content

The first project at 42 quebec is to create a static library with original and homemade version of pre-existing functions in the C library

Notifications You must be signed in to change notification settings

alvachon/42_libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

LIBFT alvachon's 42 Libft Score C

The first project at 42 quebec is to create a static library with original and homemade version of pre-existing functions in the C library.
Notice - I did some edits for my needs, this project is not compliant anymore.

This Libft work with a master libft.a file, but each part that make the big one can be compiled independently. The great thing about that, is that everything stay clean and flexible to add new part.

Structure

Linked List - Number - String - Type - Write

How to install

You will need basic C compiler In my case, I work with gnu (gcc).

How to compile only a part of the libft

Each sub folder of the library that I made can be compiled and added separatly in a project without breaking, because each of them have their own Makefile and generate an archive file (.a). Here's a demo:

cd libft/linked_list
make

You will now have a linkedlist.a !

How to compile all the libft

make

More commands

I will invite you to check the master makefile and one of the sub makefile to check other useful calls that you can make.

To do list

  • Add ft_printf
  • Add my doubly_circular_linked_list
  • Add Readme files with notes for each type

Version

15

About

The first project at 42 quebec is to create a static library with original and homemade version of pre-existing functions in the C library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published