]>
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 | -DVENDOR="$(VENDOR)" -DUNICODE="$(UNICODE)" \ | |
28 | -DOFFICIAL_BUILD="$(OFFICIAL_BUILD)" -DMSLU="$(MSLU)" -DWXUNIV="$(WXUNIV)" \ | |
29 | -DRUNTIME_LIBS="$(RUNTIME_LIBS)" -DCXX="$(CXX)" -DCFG="$(CFG)" \ | |
30 | -DCFLAGS="$(CFLAGS)" -DSHARED="$(SHARED)" -DUSE_ODBC="$(USE_ODBC)" \ | |
31 | -DUSE_OPENGL="$(USE_OPENGL)" | |
32 | ||
33 | ### Conditionally set variables: ### | |
34 | ||
35 | ||
36 | ||
37 | ### Targets: ### | |
38 | ||
39 | all: tex2rtf helpgen | |
40 | ||
41 | clean: | |
42 | -if exist .\*.obj del .\*.obj | |
43 | -if exist .\*.res del .\*.res | |
44 | ||
45 | helpgen: | |
46 | cd HelpGen | |
47 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
48 | cd .. | |
49 | ||
50 | tex2rtf: | |
51 | cd tex2rtf\src | |
52 | $(MAKE) -f makefile.bcc $(MAKEARGS) all | |
53 | cd ..\.. |