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