1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.1.3 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
7 !include <../../build/msw/config.vc>
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
16 vc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
18 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
19 FORTY_CXXFLAGS = /M$(__RUNTIME_LIBS_7)$(__DEBUGRUNTIME_3) /DWIN32 \
20 $(__DEBUGINFO_0) /Fd$(OBJS)\forty.pdb $(____DEBUGRUNTIME_2_p) \
21 $(__OPTIMIZEFLAG_4) $(__NO_VC_CRTDBG_p) /D__WXMSW__ $(__WXUNIV_DEFINE_p) \
22 $(__DEBUG_DEFINE_p) $(__UNICODE_DEFINE_p) /I.\..\..\include /I$(SETUPHDIR) \
23 /W4 /I. $(__DLLFLAG_p) /D_WINDOWS /I.\..\..\samples $(__EXCEPTIONSFLAG_8) \
24 $(__EXCEPTIONSFLAG_9) $(CPPFLAGS) $(CXXFLAGS)
26 $(OBJS)\forty_forty.obj \
27 $(OBJS)\forty_canvas.obj \
28 $(OBJS)\forty_card.obj \
29 $(OBJS)\forty_game.obj \
30 $(OBJS)\forty_pile.obj \
31 $(OBJS)\forty_playerdg.obj \
32 $(OBJS)\forty_scoredg.obj \
33 $(OBJS)\forty_scorefil.obj \
34 $(OBJS)\forty_forty.res
36 ### Conditionally set variables: ###
38 !if "$(USE_GUI)" == "0"
41 !if "$(USE_GUI)" == "1"
44 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
47 !if "$(DEBUG_FLAG)" == "1"
50 !if "$(UNICODE)" == "1"
53 !if "$(WXUNIV)" == "1"
56 !if "$(SHARED)" == "1"
59 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
62 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
65 !if "$(DEBUG_INFO)" == "0"
68 !if "$(DEBUG_INFO)" == "1"
71 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
72 __DEBUGINFO_1 = /DEBUG
74 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
77 !if "$(DEBUG_INFO)" == "0"
80 !if "$(DEBUG_INFO)" == "1"
81 __DEBUGINFO_1 = /DEBUG
83 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
84 ____DEBUGRUNTIME_2_p =
86 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
87 ____DEBUGRUNTIME_2_p = /D_DEBUG
89 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
90 ____DEBUGRUNTIME_2_p = $(____DEBUGINFO_2_p)
92 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
93 ____DEBUGINFO_2_p = /D_DEBUG
95 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
98 !if "$(DEBUG_INFO)" == "0"
101 !if "$(DEBUG_INFO)" == "1"
102 ____DEBUGINFO_2_p = /D_DEBUG
104 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
105 ____DEBUGRUNTIME_2_p_1 =
107 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
108 ____DEBUGRUNTIME_2_p_1 = /d _DEBUG
110 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
111 ____DEBUGRUNTIME_2_p_1 = $(____DEBUGINFO_2_p_1)
113 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
114 ____DEBUGINFO_2_p_1 = /d _DEBUG
116 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
117 ____DEBUGINFO_2_p_1 =
119 !if "$(DEBUG_INFO)" == "0"
120 ____DEBUGINFO_2_p_1 =
122 !if "$(DEBUG_INFO)" == "1"
123 ____DEBUGINFO_2_p_1 = /d _DEBUG
125 !if "$(DEBUG_RUNTIME_LIBS)" == "0"
128 !if "$(DEBUG_RUNTIME_LIBS)" == "1"
131 !if "$(DEBUG_RUNTIME_LIBS)" == "default"
132 __DEBUGRUNTIME_3 = $(__DEBUGINFO_3)
134 !if "$(BUILD)" == "debug" && "$(DEBUG_INFO)" == "default"
137 !if "$(BUILD)" == "release" && "$(DEBUG_INFO)" == "default"
140 !if "$(DEBUG_INFO)" == "0"
143 !if "$(DEBUG_INFO)" == "1"
146 !if "$(BUILD)" == "debug"
147 __OPTIMIZEFLAG_4 = /Od
149 !if "$(BUILD)" == "release"
150 __OPTIMIZEFLAG_4 = /O2
152 !if "$(RUNTIME_LIBS)" == "dynamic"
155 !if "$(RUNTIME_LIBS)" == "static"
158 !if "$(USE_EXCEPTIONS)" == "0"
161 !if "$(USE_EXCEPTIONS)" == "1"
162 __EXCEPTIONSFLAG_8 = /GR
164 !if "$(USE_EXCEPTIONS)" == "0"
167 !if "$(USE_EXCEPTIONS)" == "1"
168 __EXCEPTIONSFLAG_9 = /GX
170 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
171 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
173 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
174 __NO_VC_CRTDBG_p = /D__NO_VC_CRTDBG__
176 !if "$(BUILD)" == "debug" && "$(DEBUG_RUNTIME_LIBS)" == "0"
177 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
179 !if "$(BUILD)" == "release" && "$(DEBUG_FLAG)" == "1"
180 __NO_VC_CRTDBG_p_1 = /d __NO_VC_CRTDBG__
182 !if "$(WXUNIV)" == "1"
183 __WXUNIV_DEFINE_p = /D__WXUNIVERSAL__
185 !if "$(WXUNIV)" == "1"
186 __WXUNIV_DEFINE_p_1 = /d __WXUNIVERSAL__
188 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
189 __DEBUG_DEFINE_p = /D__WXDEBUG__
191 !if "$(DEBUG_FLAG)" == "1"
192 __DEBUG_DEFINE_p = /D__WXDEBUG__
194 !if "$(BUILD)" == "debug" && "$(DEBUG_FLAG)" == "default"
195 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
197 !if "$(DEBUG_FLAG)" == "1"
198 __DEBUG_DEFINE_p_1 = /d __WXDEBUG__
200 !if "$(UNICODE)" == "1"
201 __UNICODE_DEFINE_p = /D_UNICODE
203 !if "$(UNICODE)" == "1"
204 __UNICODE_DEFINE_p_1 = /d _UNICODE
206 !if "$(SHARED)" == "1"
207 __DLLFLAG_p = /DWXUSINGDLL
209 !if "$(SHARED)" == "1"
210 __DLLFLAG_p_1 = /d WXUSINGDLL
212 !if "$(MONOLITHIC)" == "0"
214 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_html.lib
216 !if "$(MONOLITHIC)" == "0"
218 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG)_core.lib
220 !if "$(MONOLITHIC)" == "0"
221 __WXLIB_BASE_p = wxbase25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
223 !if "$(MONOLITHIC)" == "1"
225 wx$(PORTNAME)$(WXUNIVNAME)25$(WXUNICODEFLAG)$(WXDEBUGFLAG).lib
227 !if "$(USE_GUI)" == "1"
228 __LIB_TIFF_p = wxtiff$(WXDEBUGFLAG).lib
230 !if "$(USE_GUI)" == "1"
231 __LIB_JPEG_p = wxjpeg$(WXDEBUGFLAG).lib
233 !if "$(USE_GUI)" == "1"
234 __LIB_PNG_p = wxpng$(WXDEBUGFLAG).lib
237 __UNICOWS_LIB_p = unicows.lib
239 !if "$(SHARED)" == "0"
240 LIBDIRNAME = .\..\..\lib\vc_lib$(CFG)
242 !if "$(SHARED)" == "1"
243 LIBDIRNAME = .\..\..\lib\vc_dll$(CFG)
249 -if not exist $(OBJS) mkdir $(OBJS)
253 all: $(OBJS)\forty.exe
256 -if exist $(OBJS)\*.obj del $(OBJS)\*.obj
257 -if exist $(OBJS)\*.res del $(OBJS)\*.res
258 -if exist $(OBJS)\forty.exe del $(OBJS)\forty.exe
259 -if exist $(OBJS)\forty.ilk del $(OBJS)\forty.ilk
260 -if exist $(OBJS)\forty.pdb del $(OBJS)\forty.pdb
262 $(OBJS)\forty.exe: $(FORTY_OBJECTS) $(OBJS)\forty_forty.res
263 link /NOLOGO /OUT:$@ $(LDFLAGS) $(__DEBUGINFO_1) /LIBPATH:$(LIBDIRNAME) /SUBSYSTEM:WINDOWS @<<
264 $(FORTY_OBJECTS) $(__WXLIB_HTML_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 $(__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
267 $(OBJS)\forty_forty.obj: .\forty.cpp
268 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
270 $(OBJS)\forty_canvas.obj: .\canvas.cpp
271 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
273 $(OBJS)\forty_card.obj: .\card.cpp
274 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
276 $(OBJS)\forty_game.obj: .\game.cpp
277 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
279 $(OBJS)\forty_pile.obj: .\pile.cpp
280 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
282 $(OBJS)\forty_playerdg.obj: .\playerdg.cpp
283 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
285 $(OBJS)\forty_scoredg.obj: .\scoredg.cpp
286 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
288 $(OBJS)\forty_scorefil.obj: .\scorefil.cpp
289 $(CXX) /c /nologo /TP /Fo$@ $(FORTY_CXXFLAGS) $**
291 $(OBJS)\forty_forty.res: .\forty.rc
292 rc /fo$@ /d WIN32 $(____DEBUGRUNTIME_2_p_1) $(__NO_VC_CRTDBG_p_1) /d __WXMSW__ $(__WXUNIV_DEFINE_p_1) $(__DEBUG_DEFINE_p_1) $(__UNICODE_DEFINE_p_1) /i .\..\..\include /i $(SETUPHDIR) /i . $(__DLLFLAG_p_1) /d _WINDOWS /i .\..\..\samples $**