| 1 | # ========================================================================= |
| 2 | # This makefile was generated by |
| 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
| 4 | # Do not modify, all changes will be overwritten! |
| 5 | # ========================================================================= |
| 6 | |
| 7 | !include ../build/msw/config.wat |
| 8 | |
| 9 | # ------------------------------------------------------------------------- |
| 10 | # Do not modify the rest of this file! |
| 11 | # ------------------------------------------------------------------------- |
| 12 | |
| 13 | # Speed up compilation a bit: |
| 14 | !ifdef __LOADDLL__ |
| 15 | ! loaddll wcc wccd |
| 16 | ! loaddll wccaxp wccdaxp |
| 17 | ! loaddll wcc386 wccd386 |
| 18 | ! loaddll wpp wppdi86 |
| 19 | ! loaddll wppaxp wppdaxp |
| 20 | ! loaddll wpp386 wppd386 |
| 21 | ! loaddll wlink wlink |
| 22 | ! loaddll wlib wlibd |
| 23 | !endif |
| 24 | |
| 25 | # We need these variables in some bakefile-made rules: |
| 26 | WATCOM_CWD = $+ $(%cdrive):$(%cwd) $- |
| 27 | |
| 28 | ### Conditionally set variables: ### |
| 29 | |
| 30 | |
| 31 | ### Variables: ### |
| 32 | |
| 33 | MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" & |
| 34 | CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" SHARED="$(SHARED)" & |
| 35 | WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" & |
| 36 | DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" & |
| 37 | MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" & |
| 38 | USE_XRC="$(USE_XRC)" USE_OPENGL="$(USE_OPENGL)" USE_ODBC="$(USE_ODBC)" & |
| 39 | USE_EXCEPTIONS="$(USE_EXCEPTIONS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" & |
| 40 | VENDOR="$(VENDOR)" WX_FLAVOUR="$(WX_FLAVOUR)" & |
| 41 | WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" & |
| 42 | CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" & |
| 43 | RUNTIME_LIBS="$(RUNTIME_LIBS)" |
| 44 | |
| 45 | |
| 46 | ### Targets: ### |
| 47 | |
| 48 | all : .SYMBOLIC bombs dbbrowse forty fractal life poem |
| 49 | |
| 50 | clean : .SYMBOLIC |
| 51 | -if exist .\*.obj del .\*.obj |
| 52 | -if exist .\*.res del .\*.res |
| 53 | -if exist .\*.lbc del .\*.lbc |
| 54 | -if exist .\*.ilk del .\*.ilk |
| 55 | cd bombs |
| 56 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean |
| 57 | cd $(WATCOM_CWD) |
| 58 | cd dbbrowse |
| 59 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean |
| 60 | cd $(WATCOM_CWD) |
| 61 | cd forty |
| 62 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean |
| 63 | cd $(WATCOM_CWD) |
| 64 | cd fractal |
| 65 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean |
| 66 | cd $(WATCOM_CWD) |
| 67 | cd life |
| 68 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean |
| 69 | cd $(WATCOM_CWD) |
| 70 | cd poem |
| 71 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean |
| 72 | cd $(WATCOM_CWD) |
| 73 | |
| 74 | bombs : .SYMBOLIC |
| 75 | cd bombs |
| 76 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all |
| 77 | cd $(WATCOM_CWD) |
| 78 | |
| 79 | dbbrowse : .SYMBOLIC |
| 80 | cd dbbrowse |
| 81 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all |
| 82 | cd $(WATCOM_CWD) |
| 83 | |
| 84 | forty : .SYMBOLIC |
| 85 | cd forty |
| 86 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all |
| 87 | cd $(WATCOM_CWD) |
| 88 | |
| 89 | fractal : .SYMBOLIC |
| 90 | cd fractal |
| 91 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all |
| 92 | cd $(WATCOM_CWD) |
| 93 | |
| 94 | life : .SYMBOLIC |
| 95 | cd life |
| 96 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all |
| 97 | cd $(WATCOM_CWD) |
| 98 | |
| 99 | poem : .SYMBOLIC |
| 100 | cd poem |
| 101 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all |
| 102 | cd $(WATCOM_CWD) |