]>
Commit | Line | Data |
---|---|---|
2ace0078 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c4839ccf | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
2ace0078 VS |
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 | ||
b17c1746 DE |
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_OPENGL="$(USE_OPENGL)" USE_ODBC="$(USE_ODBC)" & | |
69ada15b | 39 | USE_EXCEPTIONS="$(USE_EXCEPTIONS)" OFFICIAL_BUILD="$(OFFICIAL_BUILD)" & |
c4839ccf JS |
40 | VENDOR="$(VENDOR)" CFG="$(CFG)" CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" & |
41 | CPPUNIT_LIBS="$(CPPUNIT_LIBS)" RUNTIME_LIBS="$(RUNTIME_LIBS)" | |
2ace0078 VS |
42 | |
43 | ||
44 | ### Targets: ### | |
45 | ||
e1e61c81 | 46 | all : .SYMBOLIC configtool emulator helpview tex2rtf helpgen |
2ace0078 VS |
47 | |
48 | clean : .SYMBOLIC | |
49 | -if exist .\*.obj del .\*.obj | |
50 | -if exist .\*.res del .\*.res | |
51 | -if exist .\*.lbc del .\*.lbc | |
52 | -if exist .\*.ilk del .\*.ilk | |
b92ca8cf VS |
53 | cd configtool\src |
54 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
55 | cd $(WATCOM_CWD) | |
56 | cd emulator\src | |
57 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
58 | cd $(WATCOM_CWD) | |
59 | cd helpview\src | |
60 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
61 | cd $(WATCOM_CWD) | |
62 | cd tex2rtf\src | |
63 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
64 | cd $(WATCOM_CWD) | |
65 | cd HelpGen | |
66 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean | |
67 | cd $(WATCOM_CWD) | |
2ace0078 | 68 | |
e1e61c81 VS |
69 | configtool : .SYMBOLIC |
70 | cd configtool\src | |
71 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
72 | cd $(WATCOM_CWD) | |
73 | ||
74 | emulator : .SYMBOLIC | |
75 | cd emulator\src | |
76 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
77 | cd $(WATCOM_CWD) | |
78 | ||
e1e61c81 VS |
79 | helpview : .SYMBOLIC |
80 | cd helpview\src | |
81 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
82 | cd $(WATCOM_CWD) | |
83 | ||
2ace0078 VS |
84 | tex2rtf : .SYMBOLIC |
85 | cd tex2rtf\src | |
86 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
87 | cd $(WATCOM_CWD) | |
b17c1746 DE |
88 | |
89 | helpgen : .SYMBOLIC | |
90 | cd HelpGen | |
91 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
92 | cd $(WATCOM_CWD) |