]> git.saurik.com Git - wxWidgets.git/blob - demos/makefile.bcc
compilation fix
[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) -DUSE_HTML=$(USE_HTML) \
26 -DBUILD=$(BUILD) -DDEBUG_INFO=$(DEBUG_INFO) -DVENDOR=$(VENDOR) \
27 -DUNICODE=$(UNICODE) -DOFFICIAL_BUILD=$(OFFICIAL_BUILD) -DMSLU=$(MSLU) \
28 -DWXUNIV=$(WXUNIV) -DRUNTIME_LIBS=$(RUNTIME_LIBS) -DCXX=$(CXX) -DCFG=$(CFG) \
29 -DCFLAGS=$(CFLAGS) -DSHARED=$(SHARED) -DUSE_ODBC=$(USE_ODBC) \
30 -DUSE_OPENGL=$(USE_OPENGL)
31
32 ### Conditionally set variables: ###
33
34
35
36 ### Targets: ###
37
38 all: bombs dbbrowse forty fractal life poem
39
40 bombs:
41 cd bombs
42 $(MAKE) -f makefile.bcc $(MAKEARGS) all
43 cd ..
44
45 clean:
46 -if exist .\*.obj del .\*.obj
47 -if exist .\*.res del .\*.res
48
49 dbbrowse:
50 cd dbbrowse
51 $(MAKE) -f makefile.bcc $(MAKEARGS) all
52 cd ..
53
54 forty:
55 cd forty
56 $(MAKE) -f makefile.bcc $(MAKEARGS) all
57 cd ..
58
59 fractal:
60 cd fractal
61 $(MAKE) -f makefile.bcc $(MAKEARGS) all
62 cd ..
63
64 life:
65 cd life
66 $(MAKE) -f makefile.bcc $(MAKEARGS) all
67 cd ..
68
69 poem:
70 cd poem
71 $(MAKE) -f makefile.bcc $(MAKEARGS) all
72 cd ..