X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4818141bb228bbb59df63de12a5ea31801314b57..94709f191133613e115fdbf913eba5a81ddd207e:/samples/drawing/makefile.gcc diff --git a/samples/drawing/makefile.gcc b/samples/drawing/makefile.gcc index 85c6281300..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,6 +12,7 @@ include ../../build/msw/config.gcc ### Variables: ### +CPPDEPS = -MT$@ -MF$@.d -MD WX_RELEASE_NODOT = 26 OBJS = \ gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(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