aboutsummaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 22:21:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-11 22:21:03 +0100
commitf59d1737be4616965a8360f6843d679d195bef71 (patch)
treed15df462787e998c3a70114b009ad0aa34cd6664 /libft
parentgood mapping (diff)
download42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.gz
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.bz2
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.xz
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.tar.zst
42-cub3d-f59d1737be4616965a8360f6843d679d195bef71.zip
Clang is cool anyway
Diffstat (limited to 'libft')
-rw-r--r--libft/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/libft/Makefile b/libft/Makefile
index 1f93f13..d2053ee 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -119,18 +119,10 @@ USER = $(shell w | grep tty7 | awk '{print $$1}')
#==============================================================================#
#-------------------------------- Compiler ------------------------------------#
#==============================================================================#
-ifeq (${OS}, Darwin)
- DEBUG = -glldb
-else
- DEBUG = -ggdb
-endif
+DEBUG = -glldb
FSANITIZE = -fsanitize=address
#------------------------------------------------------------------------------#
-ifeq (${OS}, Darwin)
- CC = clang
-else
- CC = gcc
-endif
+CC = clang
#------------------------------------------------------------------------------#
CFLAGS = -std=c89
CFLAGS += -Wall