pass -DDEBUG to compiler if DEBUG=1 on command line
This commit is contained in:
parent
2e4c17a8b0
commit
02a2268f8a
|
@ -53,7 +53,7 @@ DEBUG = 0
|
||||||
# directory specific makefile.gtk files.
|
# directory specific makefile.gtk files.
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
WXXFLAGS := $(shell wx-config --debug --cxxflags)
|
WXXFLAGS := $(shell wx-config --debug --cxxflags)
|
||||||
CPPFLAGS = -Wall -g3 -ggdb3 ${WXXFLAGS} -fno-strict-aliasing
|
CPPFLAGS = -Wall -g3 -ggdb3 ${WXXFLAGS} -fno-strict-aliasing -DDEBUG
|
||||||
LDFLAGS = -g3 -ggdb3 #-v
|
LDFLAGS = -g3 -ggdb3 #-v
|
||||||
else
|
else
|
||||||
WXXFLAGS := $(shell wx-config --cxxflags)
|
WXXFLAGS := $(shell wx-config --cxxflags)
|
||||||
|
|
Loading…
Reference in New Issue