Forward DEBUG flag in Makefile

This commit is contained in:
Grégory Soutadé 2022-08-07 16:45:12 +02:00
parent 33bb983283
commit 210b265693
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ endif
ifneq ($(DEBUG),)
CXXFLAGS += -ggdb -O0
CXXFLAGS += -ggdb -O0 -DDEBUG
else
CXXFLAGS += -O2
endif

View File

@ -23,7 +23,7 @@ LDFLAGS += -lgourou
endif
ifneq ($(DEBUG),)
CXXFLAGS += -ggdb -O0
CXXFLAGS += -ggdb -O0 -DDEBUG
else
CXXFLAGS += -O2
endif