X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c9f8f91cd62335261ee29762747218f28d129de..da98e15760bfcad41a5579e64955caadc2e535f3:/samples/shaped/makefile.gcc?ds=sidebyside diff --git a/samples/shaped/makefile.gcc b/samples/shaped/makefile.gcc index 87fcb6c7fc..c665cca9df 100644 --- a/samples/shaped/makefile.gcc +++ b/samples/shaped/makefile.gcc @@ -1,6 +1,6 @@ # ========================================================================= # This makefile was generated by -# Bakefile 0.1.8 (http://bakefile.sourceforge.net) +# Bakefile 0.1.9 (http://bakefile.sourceforge.net) # Do not modify, all changes will be overwritten! # ========================================================================= @@ -12,7 +12,8 @@ include ../../build/msw/config.gcc ### Variables: ### -WX_RELEASE_NODOT = 25 +CPPDEPS = -MT$@ -MF$@.d -MD +WX_RELEASE_NODOT = 26 OBJS = \ gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG) LIBDIRNAME = .\..\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG) @@ -196,6 +197,7 @@ all: $(OBJS)\shaped.exe data clean: -if exist $(OBJS)\*.o del $(OBJS)\*.o + -if exist $(OBJS)\*.d del $(OBJS)\*.d -if exist $(OBJS)\shaped.exe del $(OBJS)\shaped.exe $(OBJS)\shaped.exe: $(SHAPED_OBJECTS) $(OBJS)\shaped_shaped_rc.o @@ -206,7 +208,7 @@ data: for %%f in (star.png) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS) $(OBJS)\shaped_shaped.o: ./shaped.cpp - $(CXX) -c -o $@ $(SHAPED_CXXFLAGS) $< + $(CXX) -c -o $@ $(SHAPED_CXXFLAGS) $(CPPDEPS) $< $(OBJS)\shaped_shaped_rc.o: ./shaped.rc windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) --include-dir ./../../include --include-dir $(SETUPHDIR) --include-dir . $(__DLLFLAG_p_1) --include-dir ./../../samples --define NOPCH @@ -214,3 +216,5 @@ $(OBJS)\shaped_shaped_rc.o: ./shaped.rc .PHONY: all clean data +# Dependencies tracking: +-include $(OBJS)/*.d