]> git.saurik.com Git - wxWidgets.git/blob - demos/makefile.bcc
Work around a bug in the Carbon headers
[wxWidgets.git] / demos / makefile.bcc
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: bombs dbbrowse forty fractal life poem
40
41 bombs:
42 cd bombs
43 $(MAKE) -f makefile.bcc $(MAKEARGS) all
44 cd ..
45
46 clean:
47 -if exist .\*.obj del .\*.obj
48 -if exist .\*.res del .\*.res
49
50 dbbrowse:
51 cd dbbrowse
52 $(MAKE) -f makefile.bcc $(MAKEARGS) all
53 cd ..
54
55 forty:
56 cd forty
57 $(MAKE) -f makefile.bcc $(MAKEARGS) all
58 cd ..
59
60 fractal:
61 cd fractal
62 $(MAKE) -f makefile.bcc $(MAKEARGS) all
63 cd ..
64
65 life:
66 cd life
67 $(MAKE) -f makefile.bcc $(MAKEARGS) all
68 cd ..
69
70 poem:
71 cd poem
72 $(MAKE) -f makefile.bcc $(MAKEARGS) all
73 cd ..