Skip to content

semx2a/Makefile42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Makefile42

This repo contains the Makefile that I wrote for my school projects at 42 School in Paris.

Usage

To use the Makefile, simply copy the Makefile to your project's root directory and customize the following variables:

In the settings.mk file:

NAME=your_executable_name
SRC=your_source_files
IS_LIB=true/false
IS_PTF=true/false
IS_MLX=true/false

To compile your project, simply run the following command:

make

To clean your project's object files, run the following command:

make clean

To clean your project's object files and the executable, run the following command:

make fclean

If you wish to compile your project with debug flags, run the following command:

make debug # -g
make sanaddr # -fsanitize=address
make santhread # -fsanitize=thread

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published