Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

This project is a library of functions built using C programing language to be used in future projects of 42SP.

Notifications You must be signed in to change notification settings

gabrielcoelhodacunha-old/42sp-libft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Libft

This repository is ARCHIVED

About

This project is a library of functions built using C programing language to be used in future projects of 42SP.

Why

This project is part of the 42SP curriculum required to become a Software Engineer.

What it contais

The implemented functions are described in the documentation.

How to install

Prerequisites

The prerequisites are as follows with the respective versions used.

Operating System

  • Ubuntu (20.04.4 LTS)

Tools

  • git (2.25.1)
  • clang (10.0.0-4ubuntu1)
  • GNU Make (4.2.1)

Installation

In your terminal, clone the repository.

git clone git@github.com:gccunha015/42-libft.git libft

Enter the directory cloned.

cd libft

There are some ways to build this project:

  • Create basic static library:
make
  • Include bonus functions
make bonus
  • Include gnl function
make gnl
make printf

How to use

Install it on your project folder, then create your project object files:

COMPILER COMPILER_FLAGS -Ilibft/include SOURCE_FILES

After creating the object files, link them into your project executable:

COMPILER COMPILER_FLAGS -o EXECUTABLE_NAME OBJECT_FILES -Llibft -lft

About

This project is a library of functions built using C programing language to be used in future projects of 42SP.

Topics

Resources

Stars

Watchers

Forks