Major update of the build system:
[reactos.git] / reactos / apps / tests / thread / makefile
index 05b001c..66763ab 100644 (file)
@@ -1,31 +1,21 @@
-#
-#
-#
-PATH_TO_TOP = ../..
-
-PROGS = thread
+# $Id: makefile,v 1.6 2001/08/21 20:13:05 chorns Exp $
 
-all: $(PROGS:%=%.exe)
+PATH_TO_TOP = ../..
 
-.phony: all
+TARGET_NORC = yes
 
-clean: 
-       - $(RM) *.o *.exe *.sym
+TARGET_TYPE = program
 
-.phony: clean
+TARGET_APPTYPE = console
 
-install: # $(PROGS:%=$(FLOPPY_DIR)/apps/%.exe)
+TARGET_NAME = thread
 
-$(PROGS:%=$(FLOPPY_DIR)/apps/%.exe): $(FLOPPY_DIR)/apps/%.exe: %.exe
-       $(CP) $*.exe $(FLOPPY_DIR)/apps/$*.exe
+TARGET_SDKLIBS = kernel32.a
 
-dist: $(PROGS:%=../../$(DIST_DIR)/apps/%.exe)
+TARGET_OBJECTS = $(TARGET_NAME).o
 
-$(PROGS:%=../../$(DIST_DIR)/apps/%.exe): ../../$(DIST_DIR)/apps/%.exe: %.exe
-       $(CP) $*.exe ../../$(DIST_DIR)/apps/$*.exe
+include $(PATH_TO_TOP)/rules.mak
 
-thread.exe: thread.c
-       $(CC) $(CFLAGS) thread.c -lkernel32 -o thread.exe
-       $(NM) --numeric-sort thread.exe > thread.sym
+include $(TOOLS_PATH)/helper.mk
 
-include ../../rules.mak
+# EOF