aboutsummaryrefslogtreecommitdiffstats
path: root/libft
diff options
context:
space:
mode:
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}