X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e0fbb3dbf4501b4113f2d5fe775850b7dabc477..3a89adc1f01554f2da86f6f357eafb524c45f191:/samples/stc/makefile.unx diff --git a/samples/stc/makefile.unx b/samples/stc/makefile.unx index 13e325a6ce..3dc96554cb 100644 --- a/samples/stc/makefile.unx +++ b/samples/stc/makefile.unx @@ -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) \ @@ -100,7 +100,7 @@ test_for_selected_wxbuild: @$(WX_CONFIG) $(WX_CONFIG_FLAGS) stctest: $(STCTEST_OBJECTS) - $(CXX) -o $@ $(STCTEST_OBJECTS) $(LDFLAGS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs stc,core,base` + $(CXX) -o $@ $(STCTEST_OBJECTS) `$(WX_CONFIG) $(WX_CONFIG_FLAGS) --libs stc,core,base` $(LDFLAGS) stctest_stctest.o: ./stctest.cpp $(CXX) -c -o $@ $(STCTEST_CXXFLAGS) $(CPPDEPS) $<