diff options
author | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-09 20:42:04 +0100 |
---|---|---|
committer | Rudy Bousset <rbousset@z2r4p3.le-101.fr> | 2020-03-09 20:42:04 +0100 |
commit | 35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4 (patch) | |
tree | f7c16c9e2d31a1c6c81e82df96f9c68769c16ae9 /libft/Makefile | |
parent | in progress (diff) | |
download | 42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.gz 42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.bz2 42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.xz 42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.tar.zst 42-cub3d-35a7b48f99b64ddbd23eb1a264df7ea453b3f9a4.zip |
In progress, Makefile was bav back then
Diffstat (limited to '')
-rw-r--r-- | libft/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libft/Makefile b/libft/Makefile index d2053ee..1f93f13 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -119,10 +119,18 @@ USER = $(shell w | grep tty7 | awk '{print $$1}') #==============================================================================# #-------------------------------- Compiler ------------------------------------# #==============================================================================# -DEBUG = -glldb +ifeq (${OS}, Darwin) + DEBUG = -glldb +else + DEBUG = -ggdb +endif FSANITIZE = -fsanitize=address #------------------------------------------------------------------------------# -CC = clang +ifeq (${OS}, Darwin) + CC = clang +else + CC = gcc +endif #------------------------------------------------------------------------------# CFLAGS = -std=c89 CFLAGS += -Wall |