]> git.saurik.com Git - wxWidgets.git/blame - samples/opengl/makefile.bcc
Make TOOLKIT variable constant in MSW makefiles.
[wxWidgets.git] / samples / opengl / makefile.bcc
CommitLineData
f82b7036
KO
1# =========================================================================\r
2# This makefile was generated by\r
00eef16d 3# Bakefile 0.2.9 (http://www.bakefile.org)\r
f82b7036
KO
4# Do not modify, all changes will be overwritten!\r
5# =========================================================================\r
6\r
7.autodepend\r
8\r
9!ifndef BCCDIR\r
10!ifndef MAKEDIR\r
11!error Your Borland compiler does not define MAKEDIR. Please define the BCCDIR variable, e.g. BCCDIR=d:\bc4\r
12!endif\r
13BCCDIR = $(MAKEDIR)\..\r
14!endif\r
15\r
16!include ../../build/msw/config.bcc\r
17\r
18# -------------------------------------------------------------------------\r
19# Do not modify the rest of this file!\r
20# -------------------------------------------------------------------------\r
21\r
22### Variables: ###\r
23\r
24MAKEARGS = -DCC="$(CC)" -DCXX="$(CXX)" -DCFLAGS="$(CFLAGS)" \\r
25 -DCXXFLAGS="$(CXXFLAGS)" -DCPPFLAGS="$(CPPFLAGS)" -DLDFLAGS="$(LDFLAGS)" \\r
22a3b6e4
VZ
26 -DCPP="$(CPP)" -DSHARED="$(SHARED)" -DTOOLKIT="$(TOOLKIT)" \
27 -DTOOLKIT_VERSION="$(TOOLKIT_VERSION)" -DWXUNIV="$(WXUNIV)" \
f82b7036
KO
28 -DUNICODE="$(UNICODE)" -DMSLU="$(MSLU)" -DBUILD="$(BUILD)" \\r
29 -DDEBUG_INFO="$(DEBUG_INFO)" -DDEBUG_FLAG="$(DEBUG_FLAG)" \\r
30 -DMONOLITHIC="$(MONOLITHIC)" -DUSE_GUI="$(USE_GUI)" \\r
92b4653a
SL
31 -DUSE_HTML="$(USE_HTML)" -DUSE_WEBVIEW="$(USE_WEBVIEW)" \\r
32 -DUSE_MEDIA="$(USE_MEDIA)" -DUSE_XRC="$(USE_XRC)" -DUSE_AUI="$(USE_AUI)" \\r
33 -DUSE_RIBBON="$(USE_RIBBON)" -DUSE_PROPGRID="$(USE_PROPGRID)" \\r
34 -DUSE_RICHTEXT="$(USE_RICHTEXT)" -DUSE_STC="$(USE_STC)" \\r
35 -DUSE_OPENGL="$(USE_OPENGL)" -DUSE_QA="$(USE_QA)" \\r
f82b7036
KO
36 -DUSE_EXCEPTIONS="$(USE_EXCEPTIONS)" -DUSE_RTTI="$(USE_RTTI)" \\r
37 -DUSE_THREADS="$(USE_THREADS)" -DUSE_CAIRO="$(USE_CAIRO)" \\r
b796194b
VS
38 -DOFFICIAL_BUILD="$(OFFICIAL_BUILD)" -DVENDOR="$(VENDOR)" \\r
39 -DWX_FLAVOUR="$(WX_FLAVOUR)" -DWX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" \\r
40 -DCFG="$(CFG)" -DCPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" \\r
41 -DCPPUNIT_LIBS="$(CPPUNIT_LIBS)" -DRUNTIME_LIBS="$(RUNTIME_LIBS)"\r
f82b7036
KO
42\r
43### Conditionally set variables: ###\r
44\r
45\r
46\r
47### Targets: ###\r
48\r
49all: cube isosurf penguin\r
50\r
51clean: \r
52 -if exist .\*.obj del .\*.obj\r
53 -if exist .\*.res del .\*.res\r
54 -if exist .\*.csm del .\*.csm\r
55 @echo cd cube >cube.bat\r
56 @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>cube.bat\r
57 call cube.bat\r
58 @del cube.bat\r
59 @echo cd isosurf >isosurf.bat\r
60 @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>isosurf.bat\r
61 call isosurf.bat\r
62 @del isosurf.bat\r
63 @echo cd penguin >penguin.bat\r
64 @echo $(MAKE) -f makefile.bcc $(MAKEARGS) clean >>penguin.bat\r
65 call penguin.bat\r
66 @del penguin.bat\r
67\r
68cube: \r
69 @echo cd cube >cube.bat\r
70 @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>cube.bat\r
71 call cube.bat\r
72 @del cube.bat\r
73\r
74isosurf: \r
75 @echo cd isosurf >isosurf.bat\r
76 @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>isosurf.bat\r
77 call isosurf.bat\r
78 @del isosurf.bat\r
79\r
80penguin: \r
81 @echo cd penguin >penguin.bat\r
82 @echo $(MAKE) -f makefile.bcc $(MAKEARGS) all >>penguin.bat\r
83 call penguin.bat\r
84 @del penguin.bat\r
85\r