]> git.saurik.com Git - wxWidgets.git/blame - demos/makefile.bcc
(should) fix unix compilation...
[wxWidgets.git] / demos / makefile.bcc
CommitLineData
7fcb2c61
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!ifndef BCCDIR
8BCCDIR = $(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
75a0a7b7
VS
23MAKEARGS = -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)" \
a4ad36cd
VS
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)"
7fcb2c61
VS
32
33### Conditionally set variables: ###
34
35
7fcb2c61
VS
36
37### Targets: ###
38
39all: bombs dbbrowse forty fractal life poem
40
41bombs:
42 cd bombs
43 $(MAKE) -f makefile.bcc $(MAKEARGS) all
44 cd ..
45
46clean:
47 -if exist .\*.obj del .\*.obj
48 -if exist .\*.res del .\*.res
49
50dbbrowse:
51 cd dbbrowse
52 $(MAKE) -f makefile.bcc $(MAKEARGS) all
53 cd ..
54
55forty:
56 cd forty
57 $(MAKE) -f makefile.bcc $(MAKEARGS) all
58 cd ..
59
60fractal:
61 cd fractal
62 $(MAKE) -f makefile.bcc $(MAKEARGS) all
63 cd ..
64
65life:
66 cd life
67 $(MAKE) -f makefile.bcc $(MAKEARGS) all
68 cd ..
69
70poem:
71 cd poem
72 $(MAKE) -f makefile.bcc $(MAKEARGS) all
73 cd ..