2004-10-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / lib / kernel32 / tests / Makefile
index 8f525c2..ca891c0 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.1 2004/02/22 17:30:32 chorns Exp $
+# $Id: Makefile,v 1.2 2004/10/18 19:11:07 chorns Exp $
 
 PATH_TO_TOP = ../../..
 
@@ -13,9 +13,19 @@ TARGET_CFLAGS = -I$(REGTESTS_PATH_INC)
 -include Makefile.tests
 
 TARGET_OBJECTS = \
+  _rtstub.o \
   _regtests.o \
+  _hooks.o \
+  _stubs.o \
   $(addprefix tests/, $(TESTS))
 
 include $(PATH_TO_TOP)/rules.mak
 
 include $(TOOLS_PATH)/helper.mk
+
+LIBS = ../kernel32.a
+
+run: all
+       @$(CC) -o _runtest.exe _rtstub.o regtests.a $(SDK_PATH_LIB)/rtshared.a $(LIBS) -lntdll
+       @_runtest.exe
+       @$(RM) _runtest.exe