From ea34e252fcd9dc41f5e3a3b68cafe417271a5515 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 31 Dec 2015 18:11:44 +0100 Subject: fix some errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile.in | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'Makefile.in') 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 -- cgit v1.2.3-70-g09d2