]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/samples/gizmos/led/makefile.gcc
Corrected DSW files
[wxWidgets.git] / contrib / samples / gizmos / led / makefile.gcc
index 0696b0af71285de22d8dfee2f4a5f322cd939c42..e277a2d3335802d5caa27c28dd5dff8ab799e481 100644 (file)
@@ -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)
@@ -197,6 +198,7 @@ all: $(OBJS)\led.exe
 
 clean: 
        -if exist $(OBJS)\*.o del $(OBJS)\*.o
+       -if exist $(OBJS)\*.d del $(OBJS)\*.d
        -if exist $(OBJS)\led.exe del $(OBJS)\led.exe
 
 $(OBJS)\led.exe: $(LED_OBJECTS) $(OBJS)\led_sample_rc.o
@@ -206,8 +208,10 @@ $(OBJS)\led_sample_rc.o: ./../../../../samples/sample.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
 
 $(OBJS)\led_led.o: ./led.cpp
-       $(CXX) -c -o $@ $(LED_CXXFLAGS) $<
+       $(CXX) -c -o $@ $(LED_CXXFLAGS) $(CPPDEPS) $<
 
 .PHONY: all clean
 
 
+# Dependencies tracking:
+-include $(OBJS)/*.d