From 1f5a7c585548c0e11a3f0fec47279a13903a350a Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 15 Mar 2020 17:35:29 +0100 Subject: Better Makefiles again --- Makefile | 1 + libft/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f21f07a..831850a 100644 --- a/Makefile +++ b/Makefile @@ -137,6 +137,7 @@ CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +CFLAGS += ${DEBUG} #--------------------------------------------------------------------------------------------------# ifdef ASAN CFLAGS += ${DEBUG} diff --git a/libft/Makefile b/libft/Makefile index 0c61d4d..138fc40 100644 --- a/libft/Makefile +++ b/libft/Makefile @@ -136,6 +136,7 @@ CFLAGS += -Wall CFLAGS += -Wextra CFLAGS += -Werror CFLAGS += -pedantic +CFLAGS += ${DEBUG} #------------------------------------------------------------------------------# ifdef ASAN CFLAGS += ${DEBUG} -- cgit v1.2.3