]>
Commit | Line | Data |
---|---|---|
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 | !ifndef BCCDIR | |
8 | BCCDIR = $(MAKEDIR)\.. | |
9 | !endif | |
10 | ||
11 | !include ../build/msw/config.bcc | |
12 | ||
13 | # ------------------------------------------------------------------------- | |
14 | # Do not modify the rest of this file! | |
15 | # ------------------------------------------------------------------------- | |
16 | ||
17 | !if "$(BCCDIR)" == "\.." | |
18 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
19 | !endif | |
20 | ||
21 | ### Variables: ### | |
22 | ||
23 | MAKEARGS = -DCPPFLAGS="$(CPPFLAGS)" -DDEBUG_FLAG="$(DEBUG_FLAG)" \ | |
24 | -DLDFLAGS="$(LDFLAGS)" -DCC="$(CC)" -DUSE_GUI="$(USE_GUI)" \ | |
25 | -DMONOLITHIC="$(MONOLITHIC)" -DCXXFLAGS="$(CXXFLAGS)" \ | |
26 | -DUSE_HTML="$(USE_HTML)" -DBUILD="$(BUILD)" -DDEBUG_INFO="$(DEBUG_INFO)" \ | |
27 | -DUSE_EXCEPTIONS="$(USE_EXCEPTIONS)" -DVENDOR="$(VENDOR)" \ | |
28 | -DUNICODE="$(UNICODE)" -DOFFICIAL_BUILD="$(OFFICIAL_BUILD)" \ | |
29 | -DMSLU="$(MSLU)" -DWXUNIV="$(WXUNIV)" -DRUNTIME_LIBS="$(RUNTIME_LIBS)" \ | |
30 | -DCXX="$(CXX)" -DCFG="$(CFG)" -DCFLAGS="$(CFLAGS)" -DSHARED="$(SHARED)" \ | |
31 | -DUSE_ODBC="$(USE_ODBC)" -DUSE_OPENGL="$(USE_OPENGL)" | |
32 | ||
33 | ### Conditionally set variables: ### | |
34 | ||
35 | ||
36 | ||
37 | ### Targets: ### | |
38 | ||
39 | all: configtool emulator helpview tex2rtf helpgen | |
40 | ||
41 | clean: | |
42 | -if exist .\*.obj del .\*.obj | |
43 | -if exist .\*.res del .\*.res | |
44 | ||
45 | configtool: | |
46 | cd configtool\src | |
47 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
48 | cd ..\.. | |
49 | ||
50 | emulator: | |
51 | cd emulator\src | |
52 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
53 | cd ..\.. | |
54 | ||
55 | helpgen: | |
56 | cd HelpGen | |
57 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
58 | cd .. | |
59 | ||
60 | helpview: | |
61 | cd helpview\src | |
62 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
63 | cd ..\.. | |
64 | ||
65 | tex2rtf: | |
66 | cd tex2rtf\src | |
67 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
68 | cd ..\.. |