X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fcb2c61a5be04a94622c89a4dc2d15d4189fb49..c12bf40663e0b35d138cc5a48b711a9e23bc08af:/demos/makefile.vc

diff --git a/demos/makefile.vc b/demos/makefile.vc
index 63bf06bea7..b8341f7221 100644
--- a/demos/makefile.vc
+++ b/demos/makefile.vc
@@ -1,6 +1,6 @@
 # =========================================================================
 #     This makefile was generated by
-#     Bakefile 0.1.1 (http://bakefile.sourceforge.net)
+#     Bakefile 0.2.3 (http://www.bakefile.org)
 #     Do not modify, all changes will be overwritten!
 # =========================================================================
 
@@ -12,6 +12,21 @@
 
 ### Variables: ###
 
+MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
+	CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" \
+	WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" MSLU="$(MSLU)" BUILD="$(BUILD)" \
+	TARGET_CPU="$(TARGET_CPU)" DEBUG_INFO="$(DEBUG_INFO)" \
+	DEBUG_FLAG="$(DEBUG_FLAG)" DEBUG_RUNTIME_LIBS="$(DEBUG_RUNTIME_LIBS)" \
+	MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" \
+	USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" USE_AUI="$(USE_AUI)" \
+	USE_RICHTEXT="$(USE_RICHTEXT)" USE_STC="$(USE_STC)" \
+	USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" \
+	USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" \
+	USE_THREADS="$(USE_THREADS)" USE_GDIPLUS="$(USE_GDIPLUS)" \
+	OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" \
+	WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" \
+	CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" \
+	RUNTIME_LIBS="$(RUNTIME_LIBS)"
 
 ### Conditionally set variables: ###
 
@@ -19,38 +34,50 @@
 
 ### Targets: ###
 
-all: sub_bombs sub_dbbrowse sub_forty sub_fractal sub_life sub_poem
-
-sub_bombs: 
-	cd bombs
-	$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
-	cd $(MAKEDIR)
+all: sub_bombs sub_forty sub_fractal sub_life sub_poem
 
 clean: 
 	-if exist .\*.obj del .\*.obj
 	-if exist .\*.res del .\*.res
+	-if exist .\*.pch del .\*.pch
+	cd bombs
+	$(MAKE) -f makefile.vc $(MAKEARGS) clean
+	cd "$(MAKEDIR)"
+	cd forty
+	$(MAKE) -f makefile.vc $(MAKEARGS) clean
+	cd "$(MAKEDIR)"
+	cd fractal
+	$(MAKE) -f makefile.vc $(MAKEARGS) clean
+	cd "$(MAKEDIR)"
+	cd life
+	$(MAKE) -f makefile.vc $(MAKEARGS) clean
+	cd "$(MAKEDIR)"
+	cd poem
+	$(MAKE) -f makefile.vc $(MAKEARGS) clean
+	cd "$(MAKEDIR)"
 
-sub_dbbrowse: 
-	cd dbbrowse
-	$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
-	cd $(MAKEDIR)
+sub_bombs: 
+	cd bombs
+	$(MAKE) -f makefile.vc $(MAKEARGS) all
+	cd "$(MAKEDIR)"
 
 sub_forty: 
 	cd forty
-	$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
-	cd $(MAKEDIR)
+	$(MAKE) -f makefile.vc $(MAKEARGS) all
+	cd "$(MAKEDIR)"
 
 sub_fractal: 
 	cd fractal
-	$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
-	cd $(MAKEDIR)
+	$(MAKE) -f makefile.vc $(MAKEARGS) all
+	cd "$(MAKEDIR)"
 
 sub_life: 
 	cd life
-	$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
-	cd $(MAKEDIR)
+	$(MAKE) -f makefile.vc $(MAKEARGS) all
+	cd "$(MAKEDIR)"
 
 sub_poem: 
 	cd poem
-	$(MAKE) /$(MAKEFLAGS) -f makefile.vc all
-	cd $(MAKEDIR)
+	$(MAKE) -f makefile.vc $(MAKEARGS) all
+	cd "$(MAKEDIR)"
+