aboutsummaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:36:37 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-15 17:36:37 +0100
commita334dd6a27a023fc2614e478f9e98258f37818dc (patch)
tree012ceb5cae079a171f4c8aac77521ba4853fdb8f /libft
parentBetter Makefiles again (diff)
download42-cub3d-a334dd6a27a023fc2614e478f9e98258f37818dc.tar.gz
42-cub3d-a334dd6a27a023fc2614e478f9e98258f37818dc.tar.bz2
42-cub3d-a334dd6a27a023fc2614e478f9e98258f37818dc.tar.xz
42-cub3d-a334dd6a27a023fc2614e478f9e98258f37818dc.tar.zst
42-cub3d-a334dd6a27a023fc2614e478f9e98258f37818dc.zip
Even better Makefiles
Diffstat (limited to 'libft')
-rw-r--r--libft/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libft/Makefile b/libft/Makefile
index 138fc40..1d77a29 100644
--- a/libft/Makefile
+++ b/libft/Makefile
@@ -136,7 +136,9 @@ CFLAGS += -Wall
CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
-CFLAGS += ${DEBUG}
+ifdef DEBUG
+ CFLAGS += ${DEBUG}
+endif
#------------------------------------------------------------------------------#
ifdef ASAN
CFLAGS += ${DEBUG}