]>
Commit | Line | Data |
---|---|---|
250700e4 RD |
1 | # ========================================================================= |
2 | # This makefile was generated by | |
c4839ccf | 3 | # Bakefile 0.1.4 (http://bakefile.sourceforge.net) |
250700e4 RD |
4 | # Do not modify, all changes will be overwritten! |
5 | # ========================================================================= | |
6 | ||
9bfe7ad9 VS |
7 | .autodepend |
8 | ||
250700e4 | 9 | !ifndef BCCDIR |
9bfe7ad9 VS |
10 | !ifndef MAKEDIR |
11 | !error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4 | |
12 | !endif | |
250700e4 RD |
13 | BCCDIR = $(MAKEDIR)\.. |
14 | !endif | |
15 | ||
fd9f42b6 | 16 | !include ../../build/msw/config.bcc |
250700e4 RD |
17 | |
18 | # ------------------------------------------------------------------------- | |
19 | # Do not modify the rest of this file! | |
20 | # ------------------------------------------------------------------------- | |
21 | ||
250700e4 RD |
22 | ### Variables: ### |
23 | ||
b17c1746 DE |
24 | MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \ |
25 | -DCXXFLAGS="$(CXXFLAGS)" -DCPPFLAGS="$(CPPFLAGS)" -DLDFLAGS="$(LDFLAGS)" \ | |
26 | -DSHARED="$(SHARED)" -DWXUNIV="$(WXUNIV)" -DUNICODE="$(UNICODE)" \ | |
27 | -DMSLU="$(MSLU)" -DBUILD="$(BUILD)" -DDEBUG_INFO="$(DEBUG_INFO)" \ | |
28 | -DDEBUG_FLAG="$(DEBUG_FLAG)" -DMONOLITHIC="$(MONOLITHIC)" \ | |
c33fae85 | 29 | -DUSE_GUI="$(USE_GUI)" -DUSE_HTML="$(USE_HTML)" -DUSE_XRC="$(USE_XRC)" \ |
b17c1746 | 30 | -DUSE_OPENGL="$(USE_OPENGL)" -DUSE_ODBC="$(USE_ODBC)" \ |
69ada15b | 31 | -DUSE_EXCEPTIONS="$(USE_EXCEPTIONS)" -DOFFICIAL_BUILD="$(OFFICIAL_BUILD)" \ |
c33fae85 RN |
32 | -DVENDOR="$(VENDOR)" -DWX_FLAVOUR="$(WX_FLAVOUR)" \ |
33 | -DWX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" -DCFG="$(CFG)" \ | |
34 | -DCPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" -DCPPUNIT_LIBS="$(CPPUNIT_LIBS)" \ | |
35 | -DRUNTIME_LIBS="$(RUNTIME_LIBS)" | |
250700e4 RD |
36 | |
37 | ### Conditionally set variables: ### | |
38 | ||
39 | ||
40 | ||
41 | ### Targets: ### | |
42 | ||
e93c6860 | 43 | all: cube isosurf penguin |
250700e4 RD |
44 | |
45 | clean: | |
46 | -if exist .\*.obj del .\*.obj | |
47 | -if exist .\*.res del .\*.res | |
c4839ccf JS |
48 | @echo cd cube >cube.bat |
49 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>cube.bat | |
50 | call cube.bat | |
51 | @del cube.bat | |
52 | @echo cd isosurf >isosurf.bat | |
53 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>isosurf.bat | |
54 | call isosurf.bat | |
55 | @del isosurf.bat | |
56 | @echo cd penguin >penguin.bat | |
57 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>penguin.bat | |
58 | call penguin.bat | |
59 | @del penguin.bat | |
250700e4 RD |
60 | |
61 | cube: | |
c4839ccf JS |
62 | @echo cd cube >cube.bat |
63 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>cube.bat | |
64 | call cube.bat | |
65 | @del cube.bat | |
e93c6860 VS |
66 | |
67 | isosurf: | |
c4839ccf JS |
68 | @echo cd isosurf >isosurf.bat |
69 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>isosurf.bat | |
70 | call isosurf.bat | |
71 | @del isosurf.bat | |
e93c6860 VS |
72 | |
73 | penguin: | |
c4839ccf JS |
74 | @echo cd penguin >penguin.bat |
75 | @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>penguin.bat | |
76 | call penguin.bat | |
77 | @del penguin.bat |