From a334dd6a27a023fc2614e478f9e98258f37818dc Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 15 Mar 2020 17:36:37 +0100 Subject: Even better Makefiles --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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} -- cgit v1.2.3