### Variables: ###
-CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD
+CPPDEPS = -MT$@ -MF`echo $@ | sed -e 's,\.o$$,.d,'` -MD -MP
WX_VERSION_MAJOR = $(shell echo $(WX_VERSION) | cut -c1,1)
WX_VERSION_MINOR = $(shell echo $(WX_VERSION) | cut -c2,2)
WX_CONFIG_FLAGS = $(WX_CONFIG_DEBUG_FLAG) $(WX_CONFIG_UNICODE_FLAG) \
@$(WX_CONFIG) $(WX_CONFIG_FLAGS)
auidemo: $(AUIDEMO_OBJECTS)
- $(CXX) -o $@ $(AUIDEMO_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs aui,html,adv,core,xml,base`
+ $(CXX) -o $@ $(AUIDEMO_OBJECTS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs aui,html,adv,core,xml,base` $(LDFLAGS)
auidemo_auidemo.o: ./auidemo.cpp
$(CXX) -c -o $@ $(AUIDEMO_CXXFLAGS) $(CPPDEPS) $<