9149f8a0f5415c80c4ffd31d4c31381d38bfe35a
[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 passthrough.o \
25 $(addprefix tests/, $(TESTS))
26
27 include $(PATH_TO_TOP)/rules.mak
28
29 include $(TOOLS_PATH)/helper.mk
30
31 run: all
32 @$(CC) -o _runtest.exe _rtstub.o regtests.a $(SDK_PATH_LIB)/rtshared.a ../gdiplus.a
33 @_runtest.exe
34 @$(RM) _runtest.exe