]> git.saurik.com Git - wxWidgets.git/blame - demos/makefile.wat
add wrappers to avoid compiling code which will never be used
[wxWidgets.git] / demos / makefile.wat
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!include ../build/msw/config.wat\r
8\r
9# -------------------------------------------------------------------------\r
10# Do not modify the rest of this file!\r
11# -------------------------------------------------------------------------\r
12\r
13# Speed up compilation a bit:\r
14!ifdef __LOADDLL__\r
15! loaddll wcc wccd\r
16! loaddll wccaxp wccdaxp\r
17! loaddll wcc386 wccd386\r
18! loaddll wpp wppdi86\r
19! loaddll wppaxp wppdaxp\r
20! loaddll wpp386 wppd386\r
21! if $(__VERSION__) >= 1280\r
22! loaddll wlink wlinkd\r
23! else\r
24! loaddll wlink wlink\r
25! endif\r
26! loaddll wlib wlibd\r
27!endif\r
28\r
29# We need these variables in some bakefile-made rules:\r
30WATCOM_CWD = $+ $(%cdrive):$(%cwd) $-\r
31\r
32### Conditionally set variables: ###\r
33\r
34\r
35### Variables: ###\r
36\r
37MAKEARGS = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" &\r
38 CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" CPP="$(CPP)" SHARED="$(SHARED)" &\r
39 WXUNIV="$(WXUNIV)" UNICODE="$(UNICODE)" BUILD="$(BUILD)" &\r
40 DEBUG_INFO="$(DEBUG_INFO)" DEBUG_FLAG="$(DEBUG_FLAG)" &\r
41 MONOLITHIC="$(MONOLITHIC)" USE_GUI="$(USE_GUI)" USE_HTML="$(USE_HTML)" &\r
92b4653a
SL
42 USE_WEBVIEW="$(USE_WEBVIEW)" USE_MEDIA="$(USE_MEDIA)" USE_XRC="$(USE_XRC)" &\r
43 USE_AUI="$(USE_AUI)" USE_RIBBON="$(USE_RIBBON)" &\r
44 USE_PROPGRID="$(USE_PROPGRID)" USE_RICHTEXT="$(USE_RICHTEXT)" &\r
45 USE_STC="$(USE_STC)" USE_OPENGL="$(USE_OPENGL)" USE_QA="$(USE_QA)" &\r
f82b7036
KO
46 USE_EXCEPTIONS="$(USE_EXCEPTIONS)" USE_RTTI="$(USE_RTTI)" &\r
47 USE_THREADS="$(USE_THREADS)" USE_CAIRO="$(USE_CAIRO)" &\r
b796194b
VS
48 OFFICIAL_BUILD="$(OFFICIAL_BUILD)" VENDOR="$(VENDOR)" &\r
49 WX_FLAVOUR="$(WX_FLAVOUR)" WX_LIB_FLAVOUR="$(WX_LIB_FLAVOUR)" CFG="$(CFG)" &\r
f82b7036
KO
50 CPPUNIT_CFLAGS="$(CPPUNIT_CFLAGS)" CPPUNIT_LIBS="$(CPPUNIT_LIBS)" &\r
51 RUNTIME_LIBS="$(RUNTIME_LIBS)"\r
52\r
53\r
54### Targets: ###\r
55\r
56all : .SYMBOLIC bombs forty fractal life poem\r
57\r
58clean : .SYMBOLIC \r
59 -if exist .\*.obj del .\*.obj\r
60 -if exist .\*.res del .\*.res\r
61 -if exist .\*.lbc del .\*.lbc\r
62 -if exist .\*.ilk del .\*.ilk\r
63 -if exist .\*.pch del .\*.pch\r
64 cd bombs\r
65 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean\r
66 cd $(WATCOM_CWD)\r
67 cd forty\r
68 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean\r
69 cd $(WATCOM_CWD)\r
70 cd fractal\r
71 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean\r
72 cd $(WATCOM_CWD)\r
73 cd life\r
74 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean\r
75 cd $(WATCOM_CWD)\r
76 cd poem\r
77 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) clean\r
78 cd $(WATCOM_CWD)\r
79\r
80bombs : .SYMBOLIC \r
81 cd bombs\r
82 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all\r
83 cd $(WATCOM_CWD)\r
84\r
85forty : .SYMBOLIC \r
86 cd forty\r
87 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all\r
88 cd $(WATCOM_CWD)\r
89\r
90fractal : .SYMBOLIC \r
91 cd fractal\r
92 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all\r
93 cd $(WATCOM_CWD)\r
94\r
95life : .SYMBOLIC \r
96 cd life\r
97 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all\r
98 cd $(WATCOM_CWD)\r
99\r
100poem : .SYMBOLIC \r
101 cd poem\r
102 wmake $(__MAKEOPTS__) -f makefile.wat $(MAKEARGS) all\r
103 cd $(WATCOM_CWD)\r
104\r