aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorMattias Andrée <maandree@member.fsf.org>2015-12-31 18:11:44 +0100
committerMattias Andrée <maandree@member.fsf.org>2015-12-31 18:11:44 +0100
commitea34e252fcd9dc41f5e3a3b68cafe417271a5515 (patch)
treef492e216aedf607fb7bd5b744fc1a6f2b8adb697 /Makefile.in
parentm (diff)
downloadsat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.gz
sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.bz2
sat-ea34e252fcd9dc41f5e3a3b68cafe417271a5515.tar.xz
fix some errors
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index dcc4126..2dcd2b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -103,6 +103,16 @@ _EVERYTHING = $(foreach F,$(___EVERYTHING_INFO),doc/info/$(F).texinfo) \
include $(v)mk/all.mk
ifdef DEBUG
-_CPPFLAGS += -DDEBUG=1
+ifneq ($(DEBUG),strace)
+ifneq ($(DEBUG),valgrind)
+_CPPFLAGS += -DDEBUG='1'
+endif
+endif
+ifeq ($(DEBUG),strace)
+_CPPFLAGS += -DDEBUG='2'
+endif
+ifeq ($(DEBUG),valgrind)
+_CPPFLAGS += -DDEBUG='3'
+endif
endif