aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
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 /Makefile
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 '')
-rw-r--r--Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 133577e..a32a33b 100644
--- a/Makefile
+++ b/Makefile
@@ -114,18 +114,10 @@ endif
#==================================================================================================#
#------------------------------------------ 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