### 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)
except: $(EXCEPT_OBJECTS)
- $(CXX) -o $@ $(EXCEPT_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base`
+ $(CXX) -o $@ $(EXCEPT_OBJECTS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base` $(LDFLAGS)
except_except.o: ./except.cpp
$(CXX) -c -o $@ $(EXCEPT_CXXFLAGS) $(CPPDEPS) $<