b82159efb8cd12fcd213a1ed829ccb22eb6c5377
[reactos.git] / reactos / lib / gdiplus / tests / Makefile
1 PATH_TO_TOP = ../../..
2
3 TARGET_TYPE = library
4
5 TARGET_NAME = regtests
6
7 TARGET_LIBPATH = .
8
9 TARGET_CFLAGS = \
10 -I../include \
11 -DUNICODE \
12 -Wall \
13 -Werror \
14 -fno-builtin \
15 -D__USE_W32API \
16 -DWINVER=0x0600 \
17 -D_WIN32_WINNT=0x0501 \
18 -I$(REGTESTS_PATH_INC)
19
20 -include Makefile.tests
21
22 TARGET_OBJECTS = \
23 _regtests.o \
24 _hooks.o \
25 _stubs.o \
26 $(addprefix tests/, $(TESTS))
27
28 include $(PATH_TO_TOP)/rules.mak
29
30 include $(TOOLS_PATH)/helper.mk
31
32 LIBS = ../gdiplus.a
33
34 run: all
35 @$(CC) -o _runtest.exe _rtstub.o regtests.a $(SDK_PATH_LIB)/rtshared.a $(LIBS)
36 @_runtest.exe
37 @$(RM) _runtest.exe