]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/styles/makefile.unx
Copy headers and get MDI and glcanvas fully building for OS X Cocoa port.
[wxWidgets.git] / samples / mobile / styles / makefile.unx
index 71092adb0d91c79f010af6667b2bf246b9e84c3c..3e49cd3e98bf09ecb72f61eba872cc4f806893ac 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)
 
 styles: $(STYLES_OBJECTS)
-       $(CXX) -o $@ $(STYLES_OBJECTS) $(LDFLAGS)  `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base`
+       $(CXX) -o $@ $(STYLES_OBJECTS)   `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs core,base` $(LDFLAGS)
 
 styles_styles.o: ./styles.cpp
        $(CXX) -c -o $@ $(STYLES_CXXFLAGS) $(CPPDEPS) $<