aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:31:09 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:31:09 +0100
commit0e6ae2cac2cef86051e80c613fad5edb4bbc976b (patch)
tree1d5745e545531e5b53dea305bd92fef43b6966a6 /Makefile
parentBack to the GNU C Compiler, tweaked move speed (diff)
download42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.gz
42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.bz2
42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.xz
42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.tar.zst
42-cub3d-0e6ae2cac2cef86051e80c613fad5edb4bbc976b.zip
Better Makefiles
Diffstat (limited to '')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9a5fb36..f21f07a 100644
--- a/Makefile
+++ b/Makefile
@@ -119,7 +119,11 @@ endif
#==================================================================================================#
#------------------------------------------ Compiler ----------------------------------------------#
#==================================================================================================#
-DEBUG = -glldb
+ifeq (${OS}, Darwin)
+ DEBUG = -glldb
+else
+ DEBUG = -ggdb
+endif
FSANITIZE = -fsanitize=address
#--------------------------------------------------------------------------------------------------#
ifeq (${OS}, Darwin)