X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8c9f8f91cd62335261ee29762747218f28d129de..94709f191133613e115fdbf913eba5a81ddd207e:/samples/drawing/makefile.gcc diff --git a/samples/drawing/makefile.gcc b/samples/drawing/makefile.gcc index 0701f02b50..5a7b67d282 100644 --- a/samples/drawing/makefile.gcc +++ b/samples/drawing/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)\drawing.exe data clean: -if exist $(OBJS)\*.o del $(OBJS)\*.o + -if exist $(OBJS)\*.d del $(OBJS)\*.d -if exist $(OBJS)\drawing.exe del $(OBJS)\drawing.exe $(OBJS)\drawing.exe: $(DRAWING_OBJECTS) $(OBJS)\drawing_drawing_rc.o @@ -206,7 +208,7 @@ data: for %%f in (pat4.bmp pat35.bmp pat36.bmp image.bmp mask.bmp) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS) $(OBJS)\drawing_drawing.o: ./drawing.cpp - $(CXX) -c -o $@ $(DRAWING_CXXFLAGS) $< + $(CXX) -c -o $@ $(DRAWING_CXXFLAGS) $(CPPDEPS) $< $(OBJS)\drawing_drawing_rc.o: ./drawing.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)\drawing_drawing_rc.o: ./drawing.rc .PHONY: all clean data +# Dependencies tracking: +-include $(OBJS)/*.d