aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:39:03 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:39:03 +0100
commit611083d3401beb508596cf0dabd1a8d56644f1d6 (patch)
treea38479ec80da919ba8e6291939ad924da8865fb0 /Makefile
parentEven better Makefiles (diff)
download42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.gz
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.bz2
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.xz
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.tar.zst
42-cub3d-611083d3401beb508596cf0dabd1a8d56644f1d6.zip
Makefiles fix
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e033bb6..dd8d982 100644
--- a/Makefile
+++ b/Makefile
@@ -120,9 +120,9 @@ endif
#------------------------------------------ Compiler ----------------------------------------------#
#==================================================================================================#
ifeq (${OS}, Darwin)
- DEBUG = -glldb
+ DBG = -glldb
else
- DEBUG = -ggdb
+ DBG = -ggdb
endif
FSANITIZE = -fsanitize=address
#--------------------------------------------------------------------------------------------------#
@@ -139,11 +139,11 @@ CFLAGS += -Werror
CFLAGS += -pedantic
#--------------------------------------------------------------------------------------------------#
ifdef DEBUG
- CFLAGS += ${DEBUG}
+ CFLAGS += ${DBG}
endif
#--------------------------------------------------------------------------------------------------#
ifdef ASAN
- CFLAGS += ${DEBUG}
+ CFLAGS += ${DBG}
CFLAGS += ${FSANITIZE}
endif
#--------------------------------------------------------------------------------------------------#