]> git.saurik.com Git - wxWidgets.git/blame - demos/forty/makefile.vc
add wxGTK to daily build, an remove faulty dsp files
[wxWidgets.git] / demos / forty / makefile.vc
CommitLineData
264af224
VS
1# =========================================================================
2# This makefile was generated by
0d90d6ea 3# Bakefile 0.1.9 (http://bakefile.sourceforge.net)
264af224
VS
4# Do not modify, all changes will be overwritten!
5# =========================================================================
48d1144b 6
fd9f42b6 7!include <../../build/msw/config.vc>
48d1144b 8
264af224
VS
9# -------------------------------------------------------------------------
10# Do not modify the rest of this file!
11# -------------------------------------------------------------------------
48d1144b 12
264af224 13### Variables: ###
48d1144b 14
4818141b 15WX_RELEASE_NODOT = 26
b17c1746
DE
16OBJS = \
17 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
d3d0b8db 18LIBDIRNAME = .\..\..\lib\vc_$(LIBTYPE_SUFFIX)$(CFG)
b17c1746
DE
19SETUPHDIR = \
20 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
8c9f8f91 21FORTY_CXXFLAGS = /M$(__RUNTIME_LIBS_8)$(__DEBUGRUNTIME_3) /DWIN32 \
264af224 22 $(__DEBUGINFO_0) /Fd$(OBJS)\forty.pdb $(____DEBUGRUNTIME_2_p) \
ec08d395 23 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
8c9f8f91 24 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
2113bc77
MW
25 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
26 /I.\..\..\include /I$(SETUPHDIR) /W4 /I. $(__DLLFLAG_p) /D_WINDOWS \
27 /I.\..\..\samples /DNOPCH $(__RTTIFLAG_9) $(__EXCEPTIONSFLAG_10) $(CPPFLAGS) \
28 $(CXXFLAGS)
264af224
VS
29FORTY_OBJECTS = \
30 $(OBJS)\forty_forty.obj \
31 $(OBJS)\forty_canvas.obj \
32 $(OBJS)\forty_card.obj \
33 $(OBJS)\forty_game.obj \
34 $(OBJS)\forty_pile.obj \
35 $(OBJS)\forty_playerdg.obj \
36 $(OBJS)\forty_scoredg.obj \
37 $(OBJS)\forty_scorefil.obj \
38 $(OBJS)\forty_forty.res
264af224
VS
39
40### Conditionally set variables: ###
41
42!if "$(USE_GUI)" == "0"
43PORTNAME = base
44!endif
45!if "$(USE_GUI)" == "1"
46PORTNAME = msw
47!endif
48!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
49WXDEBUGFLAG = d
50!endif
51!if "$(DEBUG_FLAG)" == "1"
52WXDEBUGFLAG = d
53!endif
264af224
VS
54!if "$(UNICODE)" == "1"
55WXUNICODEFLAG = u
56!endif
57!if "$(WXUNIV)" == "1"
58WXUNIVNAME = univ
59!endif
b17c1746
DE
60!if "$(SHARED)" == "1"
61WXDLLFLAG = dll
62!endif
d3d0b8db
JS
63!if "$(SHARED)" == "0"
64LIBTYPE_SUFFIX = lib
65!endif
66!if "$(SHARED)" == "1"
67LIBTYPE_SUFFIX = dll
68!endif
dd65d8c8
RN
69!if "$(MONOLITHIC)" == "0"
70EXTRALIBS_FOR_BASE =
71!endif
72!if "$(MONOLITHIC)" == "1"
73EXTRALIBS_FOR_BASE =
74!endif
264af224
VS
75!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
76__DEBUGINFO_0 = /Zi
77!endif
78!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
79__DEBUGINFO_0 =
80!endif
81!if "$(DEBUG_INFO)" == "0"
82__DEBUGINFO_0 =
83!endif
84!if "$(DEBUG_INFO)" == "1"
85__DEBUGINFO_0 = /Zi
86!endif
87!if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
88__DEBUGINFO_1 = /DEBUG
89!endif
90!if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
91__DEBUGINFO_1 =
92!endif
93!if "$(DEBUG_INFO)" == "0"
94__DEBUGINFO_1 =
95!endif
96!if "$(DEBUG_INFO)" == "1"
97__DEBUGINFO_1 = /DEBUG
98!endif
21c6080d
JS
99!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
100____DEBUGRUNTIME_2_p = /D_DEBUG
101!endif
102!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
103____DEBUGRUNTIME_2_p =
104!endif
b17c1746
DE
105!if "$(DEBUG_RUNTIME_LIBS)" == "0"
106____DEBUGRUNTIME_2_p =
107!endif
108!if "$(DEBUG_RUNTIME_LIBS)" == "1"
109____DEBUGRUNTIME_2_p = /D_DEBUG
110!endif
21c6080d
JS
111!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
112____DEBUGRUNTIME_2_p_1 = /d _DEBUG
264af224 113!endif
21c6080d
JS
114!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
115____DEBUGRUNTIME_2_p_1 =
b17c1746
DE
116!endif
117!if "$(DEBUG_RUNTIME_LIBS)" == "0"
118____DEBUGRUNTIME_2_p_1 =
119!endif
120!if "$(DEBUG_RUNTIME_LIBS)" == "1"
121____DEBUGRUNTIME_2_p_1 = /d _DEBUG
122!endif
21c6080d
JS
123!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "default"
124__DEBUGRUNTIME_3 = d
b17c1746 125!endif
21c6080d
JS
126!if "$(BUILD)" == "release" && "$(DEBUG_RUNTIME_LIBS)" == "default"
127__DEBUGRUNTIME_3 =
264af224
VS
128!endif
129!if "$(DEBUG_RUNTIME_LIBS)" == "0"
130__DEBUGRUNTIME_3 =
131!endif
132!if "$(DEBUG_RUNTIME_LIBS)" == "1"
133__DEBUGRUNTIME_3 = d
134!endif
b17c1746
DE
135!if "$(BUILD)" == "debug"
136__OPTIMIZEFLAG_4 = /Od
264af224 137!endif
b17c1746
DE
138!if "$(BUILD)" == "release"
139__OPTIMIZEFLAG_4 = /O2
140!endif
8c9f8f91
JS
141!if "$(USE_THREADS)" == "0"
142__THREADSFLAG_7 = L
143!endif
144!if "$(USE_THREADS)" == "1"
145__THREADSFLAG_7 = T
146!endif
b17c1746 147!if "$(RUNTIME_LIBS)" == "dynamic"
8c9f8f91 148__RUNTIME_LIBS_8 = D
b17c1746
DE
149!endif
150!if "$(RUNTIME_LIBS)" == "static"
8c9f8f91 151__RUNTIME_LIBS_8 = $(__THREADSFLAG_7)
264af224 152!endif
8c9f8f91
JS
153!if "$(USE_RTTI)" == "0"
154__RTTIFLAG_9 =
a4ad36cd 155!endif
8c9f8f91
JS
156!if "$(USE_RTTI)" == "1"
157__RTTIFLAG_9 = /GR
a4ad36cd
VS
158!endif
159!if "$(USE_EXCEPTIONS)" == "0"
8c9f8f91 160__EXCEPTIONSFLAG_10 =
a4ad36cd
VS
161!endif
162!if "$(USE_EXCEPTIONS)" == "1"
8c9f8f91 163__EXCEPTIONSFLAG_10 = /EHsc
a4ad36cd 164!endif
ec08d395
JS
165!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
166__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
167!endif
168!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
169__NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
170!endif
171!if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
172__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
173!endif
174!if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
175__NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
176!endif
b17c1746
DE
177!if "$(WXUNIV)" == "1"
178__WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
264af224 179!endif
b17c1746
DE
180!if "$(WXUNIV)" == "1"
181__WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
264af224 182!endif
b17c1746
DE
183!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
184__DEBUG_DEFINE_p = /D__WXDEBUG__
264af224 185!endif
b17c1746
DE
186!if "$(DEBUG_FLAG)" == "1"
187__DEBUG_DEFINE_p = /D__WXDEBUG__
188!endif
189!if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
190__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
191!endif
192!if "$(DEBUG_FLAG)" == "1"
193__DEBUG_DEFINE_p_1 = /d __WXDEBUG__
264af224 194!endif
8c9f8f91
JS
195!if "$(USE_EXCEPTIONS)" == "0"
196__EXCEPTIONS_DEFINE_p = /DwxNO_EXCEPTIONS
197!endif
198!if "$(USE_EXCEPTIONS)" == "0"
199__EXCEPTIONS_DEFINE_p_1 = /d wxNO_EXCEPTIONS
200!endif
201!if "$(USE_RTTI)" == "0"
202__RTTI_DEFINE_p = /DwxNO_RTTI
203!endif
204!if "$(USE_RTTI)" == "0"
205__RTTI_DEFINE_p_1 = /d wxNO_RTTI
206!endif
207!if "$(USE_THREADS)" == "0"
208__THREAD_DEFINE_p = /DwxNO_THREADS
209!endif
210!if "$(USE_THREADS)" == "0"
211__THREAD_DEFINE_p_1 = /d wxNO_THREADS
212!endif
264af224 213!if "$(UNICODE)" == "1"
ec08d395 214__UNICODE_DEFINE_p = /D_UNICODE
264af224
VS
215!endif
216!if "$(UNICODE)" == "1"
ec08d395 217__UNICODE_DEFINE_p_1 = /d _UNICODE
264af224 218!endif
2113bc77
MW
219!if "$(MSLU)" == "1"
220__MSLU_DEFINE_p = /DwxUSE_UNICODE_MSLU=1
221!endif
222!if "$(MSLU)" == "1"
223__MSLU_DEFINE_p_1 = /d wxUSE_UNICODE_MSLU=1
224!endif
b17c1746
DE
225!if "$(SHARED)" == "1"
226__DLLFLAG_p = /DWXUSINGDLL
227!endif
228!if "$(SHARED)" == "1"
229__DLLFLAG_p_1 = /d WXUSINGDLL
4e209a20 230!endif
264af224 231!if "$(MONOLITHIC)" == "0"
b17c1746 232__WXLIB_HTML_p = \
c33fae85 233 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_html.lib
264af224
VS
234!endif
235!if "$(MONOLITHIC)" == "0"
c4839ccf 236__WXLIB_ADV_p = \
c33fae85 237 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_adv.lib
c4839ccf
JS
238!endif
239!if "$(MONOLITHIC)" == "0"
264af224 240__WXLIB_CORE_p = \
c33fae85 241 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core.lib
264af224
VS
242!endif
243!if "$(MONOLITHIC)" == "0"
c33fae85
RN
244__WXLIB_BASE_p = \
245 wxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
264af224
VS
246!endif
247!if "$(MONOLITHIC)" == "1"
248__WXLIB_MONO_p = \
c33fae85 249 wx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR).lib
264af224 250!endif
b17c1746 251!if "$(USE_GUI)" == "1"
9c2d002b 252__LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
264af224 253!endif
b17c1746 254!if "$(USE_GUI)" == "1"
9c2d002b 255__LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
264af224 256!endif
b17c1746 257!if "$(USE_GUI)" == "1"
9c2d002b 258__LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
264af224 259!endif
b17c1746
DE
260!if "$(MSLU)" == "1"
261__UNICOWS_LIB_p = unicows.lib
264af224 262!endif
264af224
VS
263
264
265all: $(OBJS)
266$(OBJS):
267 -if not exist $(OBJS) mkdir $(OBJS)
268
269### Targets: ###
270
154fd1e4 271all: $(OBJS)\forty.exe data
264af224 272
b17c1746
DE
273clean:
274 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
275 -if exist $(OBJS)\*.res del $(OBJS)\*.res
d3d0b8db 276 -if exist $(OBJS)\*.pch del $(OBJS)\*.pch
b17c1746
DE
277 -if exist $(OBJS)\forty.exe del $(OBJS)\forty.exe
278 -if exist $(OBJS)\forty.ilk del $(OBJS)\forty.ilk
279 -if exist $(OBJS)\forty.pdb del $(OBJS)\forty.pdb
264af224 280
b17c1746
DE
281$(OBJS)\forty.exe: $(FORTY_OBJECTS) $(OBJS)\forty_forty.res
282 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
8c9f8f91 283 $(FORTY_OBJECTS) $(__WXLIB_HTML_p) $(__WXLIB_ADV_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) wxzlib$(WXDEBUGFLAG).lib wxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib wxexpat$(WXDEBUGFLAG).lib $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib oleacc.lib odbc32.lib
b17c1746 284<<
264af224 285
154fd1e4
WS
286data:
287 if not exist $(OBJS) mkdir $(OBJS)
288 for %f in (about.htm) do if not exist $(OBJS)\%f copy .\%f $(OBJS)
289
264af224
VS
290$(OBJS)\forty_forty.obj: .\forty.cpp
291 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
292
b17c1746
DE
293$(OBJS)\forty_canvas.obj: .\canvas.cpp
294 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
295
296$(OBJS)\forty_card.obj: .\card.cpp
297 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
264af224
VS
298
299$(OBJS)\forty_game.obj: .\game.cpp
300 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
301
302$(OBJS)\forty_pile.obj: .\pile.cpp
303 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
304
305$(OBJS)\forty_playerdg.obj: .\playerdg.cpp
306 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
307
308$(OBJS)\forty_scoredg.obj: .\scoredg.cpp
309 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
310
311$(OBJS)\forty_scorefil.obj: .\scorefil.cpp
312 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
313
b17c1746 314$(OBJS)\forty_forty.res: .\forty.rc
2113bc77 315 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__EXCEPTIONS_DEFINE_p_1) $(__RTTI_DEFINE_p_1) $(__THREAD_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) $(__MSLU_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples /d NOPCH $**
d3d0b8db 316