]>
Commit | Line | Data |
---|---|---|
2ace0078 VS |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
3 | # Bakefile 0.1.1 (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 | ||
b71531ad VZ |
33 | MAKEARGS = CPPFLAGS="$(CPPFLAGS)" DEBUG_FLAG="$(DEBUG_FLAG)" & |
34 | LDFLAGS="$(LDFLAGS)" CC="$(CC)" USE_GUI="$(USE_GUI)" & | |
35 | MONOLITHIC="$(MONOLITHIC)" CXXFLAGS="$(CXXFLAGS)" USE_HTML="$(USE_HTML)" & | |
36 | BUILD="$(BUILD)" DEBUG_INFO="$(DEBUG_INFO)" & | |
37 | USE_EXCEPTIONS="$(USE_EXCEPTIONS)" VENDOR="$(VENDOR)" UNICODE="$(UNICODE)" & | |
38 | OFFICIAL_BUILD="$(OFFICIAL_BUILD)" WXUNIV="$(WXUNIV)" & | |
39 | RUNTIME_LIBS="$(RUNTIME_LIBS)" CXX="$(CXX)" CFG="$(CFG)" CFLAGS="$(CFLAGS)" & | |
40 | SHARED="$(SHARED)" USE_ODBC="$(USE_ODBC)" USE_OPENGL="$(USE_OPENGL)" | |
2ace0078 VS |
41 | |
42 | ||
43 | ### Targets: ### | |
44 | ||
e1e61c81 | 45 | all : .SYMBOLIC configtool emulator helpview tex2rtf helpgen |
2ace0078 VS |
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 | ||
e1e61c81 VS |
53 | configtool : .SYMBOLIC |
54 | cd configtool\src | |
55 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
56 | cd $(WATCOM_CWD) | |
57 | ||
58 | emulator : .SYMBOLIC | |
59 | cd emulator\src | |
60 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
61 | cd $(WATCOM_CWD) | |
62 | ||
2ace0078 VS |
63 | helpgen : .SYMBOLIC |
64 | cd HelpGen | |
65 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
66 | cd $(WATCOM_CWD) | |
67 | ||
e1e61c81 VS |
68 | helpview : .SYMBOLIC |
69 | cd helpview\src | |
70 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
71 | cd $(WATCOM_CWD) | |
72 | ||
2ace0078 VS |
73 | tex2rtf : .SYMBOLIC |
74 | cd tex2rtf\src | |
75 | wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all | |
76 | cd $(WATCOM_CWD) |