one time wx-config invocation speeds compiles

This commit is contained in:
dickelbeck 2007-08-01 16:22:57 +00:00
parent ad1dcd1bc7
commit 9ae3184b29
1 changed files with 4 additions and 2 deletions

View File

@ -52,10 +52,12 @@ DEBUG = 0
# common CPPFLAGS to all components, further CPPFLAGS customization in # common CPPFLAGS to all components, further CPPFLAGS customization in
# directory specific makefile.gtk files. # directory specific makefile.gtk files.
ifeq ($(DEBUG), 1) ifeq ($(DEBUG), 1)
CPPFLAGS = -Wall -g `wx-config --debug --cxxflags` -fno-strict-aliasing WXXFLAGS := $(shell wx-config --debug --cxxflags)
CPPFLAGS = -Wall -g ${WXXFLAGS} -fno-strict-aliasing
LDFLAGS = -g #-v LDFLAGS = -g #-v
else else
CPPFLAGS = -Wall -O2 `wx-config --cxxflags` -fno-strict-aliasing WXXFLAGS := $(shell wx-config --cxxflags)
CPPFLAGS = -Wall -O2 ${WXXFLAGS} -fno-strict-aliasing
LDFLAGS = -s #-v LDFLAGS = -s #-v
endif endif