4e5023c7b5c1dbce4034946c1f6fc43c51bbb3a0
[reactos.git] / reactos / drivers / net / tcpip / tests / Makefile
1 # $Id: Makefile,v 1.3 2004/10/18 19:11:07 chorns Exp $
2
3 PATH_TO_TOP = ../../../..
4
5 TARGET_TYPE = library
6
7 TARGET_NAME = regtests
8
9 TARGET_PCH =
10
11 TARGET_LIBPATH = .
12
13 TARGET_CFLAGS = -I$(REGTESTS_PATH_INC)
14
15 -include Makefile.tests
16
17 TARGET_OBJECTS = \
18 _rtstub.o \
19 _regtests.o \
20 _hooks.o \
21 _stubs.o \
22 $(addprefix tests/, $(TESTS))
23
24 include $(PATH_TO_TOP)/rules.mak
25
26 include $(TOOLS_PATH)/helper.mk
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