GithubHelp home page GithubHelp logo

kuninoto / 42_libft Goto Github PK

View Code? Open in Web Editor NEW
7.0 0.0 0.0 2.99 MB

This project demands to create a C header file with a recreation of usual functions so that you can easily use them on your future projects.

C 96.66% Makefile 3.34%
42 42school libft libft42 42porto libft-42 42-school 42born2code 42cursus 42projects

42_libft's Introduction

Libft (42Porto - 42Cursus) C Logo 

Grade: 125/100

Subject (v15): Libft en_subject

Installing and running the project:

1- Clone this repository

git clone https://github.com/Kuninoto/42_Libft

2- Navigate to lvl_0_libft and run make

cd 42_Libft/lvl_0_libft
make

3- make clean so that you don't keep those object files that you won't need anymore

make clean

4- Compile your main.c with your new libft.a

cc -Wall -Wextra -Werror main.c libft.a

Makefile Available Targets:

make or make all - Makes libft.a
make bonus - Makes libft.a with bonus functions (see Subject)
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

Adding new functions to this library:

  • Add their prototypes to libft.h
  • Add their source files to lvl_0_libft
  • Add their source file names to "LIB_SRCS" variable inside the Makefile
To keep track of what's inside your resulting libft.a run ar -t libft.a

Tests:

libft-war-machine

libft-unit-test

Disclaimer

At 42School, 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]

42_libft's People

Contributors

kuninoto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.