# =========================================================================
# 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!
# =========================================================================
### Variables: ###
+CPPDEPS = -MT$@ -MF$@.d -MD
WX_RELEASE_NODOT = 26
OBJS = \
gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
clean:
-if exist $(OBJS)\*.o del $(OBJS)\*.o
+ -if exist $(OBJS)\*.d del $(OBJS)\*.d
-if exist $(OBJS)\penguin.exe del $(OBJS)\penguin.exe
ifeq ($(USE_OPENGL),1)
for %%f in (penguin.lwo) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
$(OBJS)\penguin_penguin.o: ./penguin.cpp
- $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $<
+ $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\penguin_lw.o: ./lw.cpp
- $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $<
+ $(CXX) -c -o $@ $(PENGUIN_CXXFLAGS) $(CPPDEPS) $<
$(OBJS)\penguin_trackball.o: ./trackball.c
- $(CC) -c -o $@ $(PENGUIN_CFLAGS) $<
+ $(CC) -c -o $@ $(PENGUIN_CFLAGS) $(CPPDEPS) $<
$(OBJS)\penguin_penguin_rc.o: ./penguin.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
.PHONY: all clean data
+# Dependencies tracking:
+-include $(OBJS)/*.d