1) some compilers (Watcom) don't like it if wxBase library PCH file contains
[wxWidgets.git] / samples / opengl / 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: cube isosurf penguin
39
40 clean: 
41         -if exist .\*.obj del .\*.obj
42         -if exist .\*.res del .\*.res
43
44 cube: 
45         cd cube
46         $(MAKE) -f makefile.bcc $(MAKEARGS) all
47         cd ..
48
49 isosurf: 
50         cd isosurf
51         $(MAKE) -f makefile.bcc $(MAKEARGS) all
52         cd ..
53
54 penguin: 
55         cd penguin
56         $(MAKE) -f makefile.bcc $(MAKEARGS) all
57         cd ..