| 1 | # =========================================================================\r |
| 2 | # This makefile was generated by\r |
| 3 | # Bakefile 0.2.9 (http://www.bakefile.org)\r |
| 4 | # Do not modify, all changes will be overwritten!\r |
| 5 | # =========================================================================\r |
| 6 | \r |
| 7 | .autodepend\r |
| 8 | \r |
| 9 | !ifndef BCCDIR\r |
| 10 | !ifndef MAKEDIR\r |
| 11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r |
| 12 | !endif\r |
| 13 | BCCDIR = $(MAKEDIR)\..\r |
| 14 | !endif\r |
| 15 | \r |
| 16 | !include ../build/msw/config.bcc\r |
| 17 | \r |
| 18 | # -------------------------------------------------------------------------\r |
| 19 | # Do not modify the rest of this file!\r |
| 20 | # -------------------------------------------------------------------------\r |
| 21 | \r |
| 22 | ### Variables: ###\r |
| 23 | \r |
| 24 | MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \\r |
| 25 | -DCXXFLAGS="$(CXXFLAGS)" -DCPPFLAGS="$(CPPFLAGS)" -DLDFLAGS="$(LDFLAGS)" \\r |
| 26 | -DCPP="$(CPP)" -DSHARED="$(SHARED)" -DWXUNIV="$(WXUNIV)" \\r |
| 27 | -DUNICODE="$(UNICODE)" -DMSLU="$(MSLU)" -DBUILD="$(BUILD)" \\r |
| 28 | -DDEBUG_INFO="$(DEBUG_INFO)" -DDEBUG_FLAG="$(DEBUG_FLAG)" \\r |
| 29 | -DMONOLITHIC="$(MONOLITHIC)" -DUSE_GUI="$(USE_GUI)" \\r |
| 30 | -DUSE_HTML="$(USE_HTML)" -DUSE_WEBVIEW="$(USE_WEBVIEW)" \\r |
| 31 | -DUSE_MEDIA="$(USE_MEDIA)" -DUSE_XRC="$(USE_XRC)" -DUSE_AUI="$(USE_AUI)" \\r |
| 32 | -DUSE_RIBBON="$(USE_RIBBON)" -DUSE_PROPGRID="$(USE_PROPGRID)" \\r |
| 33 | -DUSE_RICHTEXT="$(USE_RICHTEXT)" -DUSE_STC="$(USE_STC)" \\r |
| 34 | -DUSE_OPENGL="$(USE_OPENGL)" -DUSE_QA="$(USE_QA)" \\r |
| 35 | -DUSE_EXCEPTIONS="$(USE_EXCEPTIONS)" -DUSE_RTTI="$(USE_RTTI)" \\r |
| 36 | -DUSE_THREADS="$(USE_THREADS)" -DUSE_CAIRO="$(USE_CAIRO)" \\r |
| 37 | -DOFFICIAL_BUILD="$(OFFICIAL_BUILD)" -DVENDOR="$(VENDOR)" \\r |
| 38 | -DWX_FLAVOUR="$(WX_FLAVOUR)" -DWX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" \\r |
| 39 | -DCFG="$(CFG)" -DCPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" \\r |
| 40 | -DCPPUNIT_LIBS="$(CPPUNIT_LIBS)" -DRUNTIME_LIBS="$(RUNTIME_LIBS)"\r |
| 41 | \r |
| 42 | ### Conditionally set variables: ###\r |
| 43 | \r |
| 44 | \r |
| 45 | \r |
| 46 | ### Targets: ###\r |
| 47 | \r |
| 48 | all: bombs forty fractal life poem\r |
| 49 | \r |
| 50 | clean: \r |
| 51 | -if exist .\*.obj del .\*.obj\r |
| 52 | -if exist .\*.res del .\*.res\r |
| 53 | -if exist .\*.csm del .\*.csm\r |
| 54 | @echo cd bombs >bombs.bat\r |
| 55 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>bombs.bat\r |
| 56 | call bombs.bat\r |
| 57 | @del bombs.bat\r |
| 58 | @echo cd forty >forty.bat\r |
| 59 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>forty.bat\r |
| 60 | call forty.bat\r |
| 61 | @del forty.bat\r |
| 62 | @echo cd fractal >fractal.bat\r |
| 63 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>fractal.bat\r |
| 64 | call fractal.bat\r |
| 65 | @del fractal.bat\r |
| 66 | @echo cd life >life.bat\r |
| 67 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>life.bat\r |
| 68 | call life.bat\r |
| 69 | @del life.bat\r |
| 70 | @echo cd poem >poem.bat\r |
| 71 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>poem.bat\r |
| 72 | call poem.bat\r |
| 73 | @del poem.bat\r |
| 74 | \r |
| 75 | bombs: \r |
| 76 | @echo cd bombs >bombs.bat\r |
| 77 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>bombs.bat\r |
| 78 | call bombs.bat\r |
| 79 | @del bombs.bat\r |
| 80 | \r |
| 81 | forty: \r |
| 82 | @echo cd forty >forty.bat\r |
| 83 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>forty.bat\r |
| 84 | call forty.bat\r |
| 85 | @del forty.bat\r |
| 86 | \r |
| 87 | fractal: \r |
| 88 | @echo cd fractal >fractal.bat\r |
| 89 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>fractal.bat\r |
| 90 | call fractal.bat\r |
| 91 | @del fractal.bat\r |
| 92 | \r |
| 93 | life: \r |
| 94 | @echo cd life >life.bat\r |
| 95 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>life.bat\r |
| 96 | call life.bat\r |
| 97 | @del life.bat\r |
| 98 | \r |
| 99 | poem: \r |
| 100 | @echo cd poem >poem.bat\r |
| 101 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>poem.bat\r |
| 102 | call poem.bat\r |
| 103 | @del poem.bat\r |
| 104 | \r |