X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4a9dba0e561d2485d9235eab7b51aac8729f1b10..HEAD:/demos/makefile.vc diff --git a/demos/makefile.vc b/demos/makefile.vc index 90fb158b0e..3059984312 100644 --- a/demos/makefile.vc +++ b/demos/makefile.vc @@ -1,63 +1,85 @@ -# -# File: makefile.vc -# Author: Julian Smart -# Created: 1993 -# Updated: -# Copyright: -# -# "%W% %G%" -# -# Makefile : Builds demos for Win95, MSVC++ 16-bit -# Use FINAL=1 argument to nmake to build final version with no debugging -# info - -# Set WXDIR for your system -WXDIR = $(WXWIN) - -THISDIR=$(WXDIR)\demos - -# -# Indicates kind of pb with demos -# -# No makefile.vc file -NOMAKE=1 -# No 16 bit version -#ONLY32=1 -# Misc. compilation errors -COMPIL=1 -# Need PNG -PNGSETUP= - -!include $(WXDIR)\src\makemsc.env - -# -# Please keep demos list up-to-date, in alphabetical order -# -all: - cd $(WXDIR)\demos\bombs - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\demos\dbbrowse - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\demos\forty - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\demos\fractal - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\demos\life - nmake -f makefile.vc FINAL=$(FINAL) - cd $(WXDIR)\demos\poem - nmake -f makefile.vc FINAL=$(FINAL) - -clean: - cd $(WXDIR)\demos\bombs - nmake -f makefile.vc clean - cd $(WXDIR)\demos\dbbrowse - nmake -f makefile.vc clean - cd $(WXDIR)\demos\forty - nmake -f makefile.vc clean - cd $(WXDIR)\demos\fractal - nmake -f makefile.vc clean - cd $(WXDIR)\demos\life - nmake -f makefile.vc clean - cd $(WXDIR)\demos\poem - nmake -f makefile.vc clean - +# ========================================================================= +# This makefile was generated by +# Bakefile 0.2.9 (http://www.bakefile.org) +# Do not modify, all changes will be overwritten! +# ========================================================================= + +!include <../build/msw/config.vc> + +# ------------------------------------------------------------------------- +# Do not modify the rest of this file! +# ------------------------------------------------------------------------- + +### Variables: ### + +MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" \ + TOOLKIT_VERSION="$(TOOLKIT_VERSION)" 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_WEBVIEW="$(USE_WEBVIEW)" USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" \ + USE_AUI="$(USE_AUI)" USE_RIBBON="$(USE_RIBBON)" \ + USE_PROPGRID="$(USE_PROPGRID)" 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_CAIRO="$(USE_CAIRO)" \ + 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: ### + + + +### Targets: ### + +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_bombs: + cd bombs + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_forty: + cd forty + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_fractal: + cd fractal + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_life: + cd life + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" + +sub_poem: + cd poem + $(MAKE) -f makefile.vc $(MAKEARGS) all + cd "$(MAKEDIR)" +