]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/regtest/makefile.unx
don't use wxStrings in a statically initialized array of structs, VC6 doesn't like...
[wxWidgets.git] / samples / regtest / makefile.unx
index f5a836df13e962d4534d22cccd9821f32d9f2035..95f6a168922c2710f84cfdc6222ffab0e45bdce1 100644 (file)
@@ -48,7 +48,7 @@ WX_VERSION := $(shell $(WX_CONFIG) --selected-config | sed -e 's/.*-\([0-9]*\)\.
 
 ### 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) \
@@ -98,7 +98,7 @@ test_for_selected_wxbuild:
        @$(WX_CONFIG) $(WX_CONFIG_FLAGS)
 
 regtest: $(REGTEST_OBJECTS)
-       $(CXX) -o $@ $(REGTEST_OBJECTS) $(LDFLAGS)  `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base`
+       $(CXX) -o $@ $(REGTEST_OBJECTS)   `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base` $(LDFLAGS)
 
 regtest_regtest.o: ./regtest.cpp
        $(CXX) -c -o $@ $(REGTEST_CXXFLAGS) $(CPPDEPS) $<