]> git.saurik.com Git - wxWidgets.git/blob - tests/makefile.gcc
fix some compile/link errors
[wxWidgets.git] / tests / makefile.gcc
1 # =========================================================================
2 # This makefile was generated by
3 # Bakefile 0.2.0 (http://bakefile.sourceforge.net)
4 # Do not modify, all changes will be overwritten!
5 # =========================================================================
6
7 include ../build/msw/config.gcc
8
9 # -------------------------------------------------------------------------
10 # Do not modify the rest of this file!
11 # -------------------------------------------------------------------------
12
13 ### Variables: ###
14
15 CPPDEPS = -MT$@ -MF$@.d -MD
16 WX_RELEASE_NODOT = 27
17 OBJS = \
18 gcc_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WXDLLFLAG)$(CFG)
19 LIBDIRNAME = .\..\lib\gcc_$(LIBTYPE_SUFFIX)$(CFG)
20 SETUPHDIR = \
21 $(LIBDIRNAME)\$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)
22 TEST_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) $(GCCFLAGS) \
23 -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) $(__DEBUG_DEFINE_p) \
24 $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) $(__THREAD_DEFINE_p) \
25 $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) $(__GFXCTX_DEFINE_p) \
26 -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) -DwxUSE_GUI=0 \
27 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) -Wno-ctor-dtor-privacy \
28 $(CPPFLAGS) $(CXXFLAGS)
29 TEST_OBJECTS = \
30 $(OBJS)\test_dummy.o \
31 $(OBJS)\test_test.o \
32 $(OBJS)\test_archivetest.o \
33 $(OBJS)\test_ziptest.o \
34 $(OBJS)\test_arrays.o \
35 $(OBJS)\test_datetimetest.o \
36 $(OBJS)\test_fileconftest.o \
37 $(OBJS)\test_filekind.o \
38 $(OBJS)\test_filenametest.o \
39 $(OBJS)\test_filesystest.o \
40 $(OBJS)\test_fontmaptest.o \
41 $(OBJS)\test_formatconvertertest.o \
42 $(OBJS)\test_hashes.o \
43 $(OBJS)\test_lists.o \
44 $(OBJS)\test_longlongtest.o \
45 $(OBJS)\test_convautotest.o \
46 $(OBJS)\test_mbconvtest.o \
47 $(OBJS)\test_regextest.o \
48 $(OBJS)\test_wxregextest.o \
49 $(OBJS)\test_scopeguardtest.o \
50 $(OBJS)\test_strings.o \
51 $(OBJS)\test_stdstrings.o \
52 $(OBJS)\test_tokenizer.o \
53 $(OBJS)\test_unicode.o \
54 $(OBJS)\test_crt.o \
55 $(OBJS)\test_vsnprintf.o \
56 $(OBJS)\test_bstream.o \
57 $(OBJS)\test_datastreamtest.o \
58 $(OBJS)\test_ffilestream.o \
59 $(OBJS)\test_fileback.o \
60 $(OBJS)\test_filestream.o \
61 $(OBJS)\test_largefile.o \
62 $(OBJS)\test_memstream.o \
63 $(OBJS)\test_sstream.o \
64 $(OBJS)\test_tempfile.o \
65 $(OBJS)\test_textstreamtest.o \
66 $(OBJS)\test_zlibstream.o \
67 $(OBJS)\test_textfiletest.o \
68 $(OBJS)\test_uris.o
69 TEST_GUI_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
70 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
71 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
72 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
73 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
74 -I.\..\samples -DNOPCH $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
75 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
76 TEST_GUI_OBJECTS = \
77 $(OBJS)\test_gui_sample_rc.o \
78 $(OBJS)\test_gui_dummy.o \
79 $(OBJS)\test_gui_test.o \
80 $(OBJS)\test_gui_rect.o \
81 $(OBJS)\test_gui_size.o \
82 $(OBJS)\test_gui_point.o
83 PRINTFBENCH_CXXFLAGS = $(__DEBUGINFO) $(__OPTIMIZEFLAG) $(__THREADSFLAG) \
84 $(GCCFLAGS) -DHAVE_W32API_H -D__WXMSW__ $(__WXUNIV_DEFINE_p) \
85 $(__DEBUG_DEFINE_p) $(__EXCEPTIONS_DEFINE_p) $(__RTTI_DEFINE_p) \
86 $(__THREAD_DEFINE_p) $(__UNICODE_DEFINE_p) $(__MSLU_DEFINE_p) \
87 $(__GFXCTX_DEFINE_p) -I$(SETUPHDIR) -I.\..\include -W -Wall -I. $(__DLLFLAG_p) \
88 -DwxUSE_GUI=0 $(CPPUNIT_CFLAGS) $(__RTTIFLAG) $(__EXCEPTIONSFLAG) \
89 -Wno-ctor-dtor-privacy $(CPPFLAGS) $(CXXFLAGS)
90 PRINTFBENCH_OBJECTS = \
91 $(OBJS)\printfbench_dummy.o \
92 $(OBJS)\printfbench_printfbench.o
93
94 ### Conditionally set variables: ###
95
96 ifeq ($(GCC_VERSION),2.95)
97 GCCFLAGS = -fvtable-thunks
98 endif
99 ifeq ($(USE_GUI),0)
100 PORTNAME = base
101 endif
102 ifeq ($(USE_GUI),1)
103 PORTNAME = msw
104 endif
105 ifeq ($(BUILD),debug)
106 ifeq ($(DEBUG_FLAG),default)
107 WXDEBUGFLAG = d
108 endif
109 endif
110 ifeq ($(DEBUG_FLAG),1)
111 WXDEBUGFLAG = d
112 endif
113 ifeq ($(UNICODE),1)
114 WXUNICODEFLAG = u
115 endif
116 ifeq ($(WXUNIV),1)
117 WXUNIVNAME = univ
118 endif
119 ifeq ($(SHARED),1)
120 WXDLLFLAG = dll
121 endif
122 ifeq ($(SHARED),0)
123 LIBTYPE_SUFFIX = lib
124 endif
125 ifeq ($(SHARED),1)
126 LIBTYPE_SUFFIX = dll
127 endif
128 ifeq ($(MONOLITHIC),0)
129 EXTRALIBS_FOR_BASE =
130 endif
131 ifeq ($(MONOLITHIC),1)
132 EXTRALIBS_FOR_BASE =
133 endif
134 ifeq ($(MONOLITHIC),0)
135 __WXLIB_NET_p = \
136 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_net
137 endif
138 ifeq ($(USE_GUI),1)
139 __test_gui___depname = $(OBJS)\test_gui.exe
140 endif
141 ifeq ($(WXUNIV),1)
142 __WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
143 endif
144 ifeq ($(BUILD),debug)
145 ifeq ($(DEBUG_FLAG),default)
146 __DEBUG_DEFINE_p_3 = --define __WXDEBUG__
147 endif
148 endif
149 ifeq ($(DEBUG_FLAG),1)
150 __DEBUG_DEFINE_p_3 = --define __WXDEBUG__
151 endif
152 ifeq ($(USE_EXCEPTIONS),0)
153 __EXCEPTIONS_DEFINE_p_3 = --define wxNO_EXCEPTIONS
154 endif
155 ifeq ($(USE_RTTI),0)
156 __RTTI_DEFINE_p_3 = --define wxNO_RTTI
157 endif
158 ifeq ($(USE_THREADS),0)
159 __THREAD_DEFINE_p_3 = --define wxNO_THREADS
160 endif
161 ifeq ($(UNICODE),1)
162 __UNICODE_DEFINE_p_3 = --define _UNICODE
163 endif
164 ifeq ($(MSLU),1)
165 __MSLU_DEFINE_p_3 = --define wxUSE_UNICODE_MSLU=1
166 endif
167 ifeq ($(USE_GDIPLUS),1)
168 __GFXCTX_DEFINE_p_3 = --define wxUSE_GRAPHICS_CONTEXT=1
169 endif
170 ifeq ($(SHARED),1)
171 __DLLFLAG_p_3 = --define WXUSINGDLL
172 endif
173 ifeq ($(MONOLITHIC),0)
174 __WXLIB_CORE_p = \
175 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core
176 endif
177 ifeq ($(USE_GUI),1)
178 __LIB_TIFF_p = -lwxtiff$(WXDEBUGFLAG)
179 endif
180 ifeq ($(USE_GUI),1)
181 __LIB_JPEG_p = -lwxjpeg$(WXDEBUGFLAG)
182 endif
183 ifeq ($(USE_GUI),1)
184 __LIB_PNG_p = -lwxpng$(WXDEBUGFLAG)
185 endif
186 ifeq ($(BUILD),debug)
187 __OPTIMIZEFLAG = -O0
188 endif
189 ifeq ($(BUILD),release)
190 __OPTIMIZEFLAG = -O2
191 endif
192 ifeq ($(USE_RTTI),0)
193 __RTTIFLAG = -fno-rtti
194 endif
195 ifeq ($(USE_RTTI),1)
196 __RTTIFLAG =
197 endif
198 ifeq ($(USE_EXCEPTIONS),0)
199 __EXCEPTIONSFLAG = -fno-exceptions
200 endif
201 ifeq ($(USE_EXCEPTIONS),1)
202 __EXCEPTIONSFLAG =
203 endif
204 ifeq ($(WXUNIV),1)
205 __WXUNIV_DEFINE_p = -D__WXUNIVERSAL__
206 endif
207 ifeq ($(BUILD),debug)
208 ifeq ($(DEBUG_FLAG),default)
209 __DEBUG_DEFINE_p = -D__WXDEBUG__
210 endif
211 endif
212 ifeq ($(DEBUG_FLAG),1)
213 __DEBUG_DEFINE_p = -D__WXDEBUG__
214 endif
215 ifeq ($(USE_EXCEPTIONS),0)
216 __EXCEPTIONS_DEFINE_p = -DwxNO_EXCEPTIONS
217 endif
218 ifeq ($(USE_RTTI),0)
219 __RTTI_DEFINE_p = -DwxNO_RTTI
220 endif
221 ifeq ($(USE_THREADS),0)
222 __THREAD_DEFINE_p = -DwxNO_THREADS
223 endif
224 ifeq ($(UNICODE),1)
225 __UNICODE_DEFINE_p = -D_UNICODE
226 endif
227 ifeq ($(MSLU),1)
228 __MSLU_DEFINE_p = -DwxUSE_UNICODE_MSLU=1
229 endif
230 ifeq ($(USE_GDIPLUS),1)
231 __GFXCTX_DEFINE_p = -DwxUSE_GRAPHICS_CONTEXT=1
232 endif
233 ifeq ($(SHARED),1)
234 __DLLFLAG_p = -DWXUSINGDLL
235 endif
236 ifeq ($(MONOLITHIC),0)
237 __WXLIB_BASE_p = \
238 -lwxbase$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
239 endif
240 ifeq ($(MONOLITHIC),1)
241 __WXLIB_MONO_p = \
242 -lwx$(PORTNAME)$(WXUNIVNAME)$(WX_RELEASE_NODOT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)
243 endif
244 ifeq ($(MSLU),1)
245 __UNICOWS_LIB_p = -lunicows
246 endif
247 ifeq ($(USE_GDIPLUS),1)
248 __GDIPLUS_LIB_p = -lgdiplus
249 endif
250 ifeq ($(BUILD),debug)
251 ifeq ($(DEBUG_INFO),default)
252 __DEBUGINFO = -g
253 endif
254 endif
255 ifeq ($(BUILD),release)
256 ifeq ($(DEBUG_INFO),default)
257 __DEBUGINFO =
258 endif
259 endif
260 ifeq ($(DEBUG_INFO),0)
261 __DEBUGINFO =
262 endif
263 ifeq ($(DEBUG_INFO),1)
264 __DEBUGINFO = -g
265 endif
266 ifeq ($(USE_THREADS),0)
267 __THREADSFLAG =
268 endif
269 ifeq ($(USE_THREADS),1)
270 __THREADSFLAG = -mthreads
271 endif
272
273
274 all: $(OBJS)
275 $(OBJS):
276 -if not exist $(OBJS) mkdir $(OBJS)
277
278 ### Targets: ###
279
280 all: $(OBJS)\test.exe $(__test_gui___depname) data $(OBJS)\printfbench.exe
281
282 clean:
283 -if exist $(OBJS)\*.o del $(OBJS)\*.o
284 -if exist $(OBJS)\*.d del $(OBJS)\*.d
285 -if exist $(OBJS)\test.exe del $(OBJS)\test.exe
286 -if exist $(OBJS)\test_gui.exe del $(OBJS)\test_gui.exe
287 -if exist $(OBJS)\printfbench.exe del $(OBJS)\printfbench.exe
288
289 $(OBJS)\test.exe: $(TEST_OBJECTS)
290 $(CXX) -o $@ $(TEST_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_NET_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
291
292 ifeq ($(USE_GUI),1)
293 $(OBJS)\test_gui.exe: $(TEST_GUI_OBJECTS) $(OBJS)\test_gui_sample_rc.o
294 $(CXX) -o $@ $(TEST_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
295 endif
296
297 data:
298 if not exist $(OBJS) mkdir $(OBJS)
299 for %%f in (testdata.fc) do if not exist $(OBJS)\%%f copy .\%%f $(OBJS)
300
301 $(OBJS)\printfbench.exe: $(PRINTFBENCH_OBJECTS)
302 $(CXX) -o $@ $(PRINTFBENCH_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) $(__THREADSFLAG) -L$(LIBDIRNAME) $(CPPUNIT_LIBS) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXUNICODEFLAG)$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(EXTRALIBS_FOR_BASE) $(__UNICOWS_LIB_p) $(__GDIPLUS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32
303
304 $(OBJS)\test_dummy.o: ./dummy.cpp
305 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
306
307 $(OBJS)\test_test.o: ./test.cpp
308 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
309
310 $(OBJS)\test_archivetest.o: ./archive/archivetest.cpp
311 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
312
313 $(OBJS)\test_ziptest.o: ./archive/ziptest.cpp
314 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
315
316 $(OBJS)\test_arrays.o: ./arrays/arrays.cpp
317 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
318
319 $(OBJS)\test_datetimetest.o: ./datetime/datetimetest.cpp
320 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
321
322 $(OBJS)\test_fileconftest.o: ./fileconf/fileconftest.cpp
323 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
324
325 $(OBJS)\test_filekind.o: ./filekind/filekind.cpp
326 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
327
328 $(OBJS)\test_filenametest.o: ./filename/filenametest.cpp
329 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
330
331 $(OBJS)\test_filesystest.o: ./filesys/filesystest.cpp
332 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
333
334 $(OBJS)\test_fontmaptest.o: ./fontmap/fontmaptest.cpp
335 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
336
337 $(OBJS)\test_formatconvertertest.o: ./formatconverter/formatconvertertest.cpp
338 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
339
340 $(OBJS)\test_hashes.o: ./hashes/hashes.cpp
341 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
342
343 $(OBJS)\test_lists.o: ./lists/lists.cpp
344 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
345
346 $(OBJS)\test_longlongtest.o: ./longlong/longlongtest.cpp
347 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
348
349 $(OBJS)\test_convautotest.o: ./mbconv/convautotest.cpp
350 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
351
352 $(OBJS)\test_mbconvtest.o: ./mbconv/mbconvtest.cpp
353 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
354
355 $(OBJS)\test_regextest.o: ./regex/regextest.cpp
356 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
357
358 $(OBJS)\test_wxregextest.o: ./regex/wxregextest.cpp
359 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
360
361 $(OBJS)\test_scopeguardtest.o: ./scopeguard/scopeguardtest.cpp
362 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
363
364 $(OBJS)\test_strings.o: ./strings/strings.cpp
365 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
366
367 $(OBJS)\test_stdstrings.o: ./strings/stdstrings.cpp
368 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
369
370 $(OBJS)\test_tokenizer.o: ./strings/tokenizer.cpp
371 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
372
373 $(OBJS)\test_unicode.o: ./strings/unicode.cpp
374 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
375
376 $(OBJS)\test_crt.o: ./strings/crt.cpp
377 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
378
379 $(OBJS)\test_vsnprintf.o: ./strings/vsnprintf.cpp
380 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
381
382 $(OBJS)\test_bstream.o: ./streams/bstream.cpp
383 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
384
385 $(OBJS)\test_datastreamtest.o: ./streams/datastreamtest.cpp
386 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
387
388 $(OBJS)\test_ffilestream.o: ./streams/ffilestream.cpp
389 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
390
391 $(OBJS)\test_fileback.o: ./streams/fileback.cpp
392 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
393
394 $(OBJS)\test_filestream.o: ./streams/filestream.cpp
395 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
396
397 $(OBJS)\test_largefile.o: ./streams/largefile.cpp
398 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
399
400 $(OBJS)\test_memstream.o: ./streams/memstream.cpp
401 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
402
403 $(OBJS)\test_sstream.o: ./streams/sstream.cpp
404 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
405
406 $(OBJS)\test_tempfile.o: ./streams/tempfile.cpp
407 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
408
409 $(OBJS)\test_textstreamtest.o: ./streams/textstreamtest.cpp
410 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
411
412 $(OBJS)\test_zlibstream.o: ./streams/zlibstream.cpp
413 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
414
415 $(OBJS)\test_textfiletest.o: ./textfile/textfiletest.cpp
416 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
417
418 $(OBJS)\test_uris.o: ./uris/uris.cpp
419 $(CXX) -c -o $@ $(TEST_CXXFLAGS) $(CPPDEPS) $<
420
421 $(OBJS)\test_gui_sample_rc.o: ./../samples/sample.rc
422 windres --use-temp-file -i$< -o$@ --define __WXMSW__ $(__WXUNIV_DEFINE_p_3) $(__DEBUG_DEFINE_p_3) $(__EXCEPTIONS_DEFINE_p_3) $(__RTTI_DEFINE_p_3) $(__THREAD_DEFINE_p_3) $(__UNICODE_DEFINE_p_3) $(__MSLU_DEFINE_p_3) $(__GFXCTX_DEFINE_p_3) --include-dir $(SETUPHDIR) --include-dir ./../include --include-dir . $(__DLLFLAG_p_3) --include-dir ./../samples
423
424 $(OBJS)\test_gui_dummy.o: ./dummy.cpp
425 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
426
427 $(OBJS)\test_gui_test.o: ./test.cpp
428 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
429
430 $(OBJS)\test_gui_rect.o: ./geometry/rect.cpp
431 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
432
433 $(OBJS)\test_gui_size.o: ./geometry/size.cpp
434 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
435
436 $(OBJS)\test_gui_point.o: ./geometry/point.cpp
437 $(CXX) -c -o $@ $(TEST_GUI_CXXFLAGS) $(CPPDEPS) $<
438
439 $(OBJS)\printfbench_dummy.o: ./dummy.cpp
440 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
441
442 $(OBJS)\printfbench_printfbench.o: ./benchmarks/printfbench.cpp
443 $(CXX) -c -o $@ $(PRINTFBENCH_CXXFLAGS) $(CPPDEPS) $<
444
445 .PHONY: all clean data
446
447
448 # Dependencies tracking:
449 -include $(OBJS)/*.d