2004-10-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / subsys / win32k / tests / makefile
1 PATH_TO_TOP = ../../..
2
3 TARGET_TYPE = library
4
5 TARGET_NAME = regtests
6
7 TARGET_LIBPATH = .
8
9 TARGET_CFLAGS = -I$(REGTESTS_PATH_INC) \
10 -D__USE_W32API \
11 -D_WIN32K_
12
13 -include Makefile.tests
14
15 TARGET_OBJECTS = \
16 _rtstub.o \
17 _regtests.o \
18 _hooks.o \
19 _stubs.o \
20 $(addprefix tests/, $(TESTS))
21
22 include $(PATH_TO_TOP)/rules.mak
23
24 include $(TOOLS_PATH)/helper.mk
25
26 LIBS = ../win32k.a
27
28 run: all
29 @$(CC) -o _runtest.exe _rtstub.o regtests.a $(SDK_PATH_LIB)/rtshared.a $(LIBS) -lntdll
30 @_runtest.exe
31 @$(RM) _runtest.exe