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