aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 831850a..e033bb6 100644
--- a/Makefile
+++ b/Makefile
@@ -137,7 +137,10 @@ CFLAGS += -Wall
CFLAGS += -Wextra
CFLAGS += -Werror
CFLAGS += -pedantic
-CFLAGS += ${DEBUG}
+#--------------------------------------------------------------------------------------------------#
+ifdef DEBUG
+ CFLAGS += ${DEBUG}
+endif
#--------------------------------------------------------------------------------------------------#
ifdef ASAN
CFLAGS += ${DEBUG}