From 3f98a7dd14318849299bb5034f2d79c88cc1e67c Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 5 May 2001 18:01:07 +0000 Subject: [PATCH] Added makefile svn path=/trunk/; revision=1886 --- reactos/apps/tests/nptest/Makefile | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 reactos/apps/tests/nptest/Makefile diff --git a/reactos/apps/tests/nptest/Makefile b/reactos/apps/tests/nptest/Makefile new file mode 100644 index 00000000000..c9d975e81a5 --- /dev/null +++ b/reactos/apps/tests/nptest/Makefile @@ -0,0 +1,44 @@ +# +# +# +PATH_TO_TOP = ../.. + +SRV_OBJECTS = ../common/crt0.o npserver.o +CLT_OBJECTS = ../common/crt0.o npclient.o + +PROGS = npserver.exe npclient.exe + +BASE_CFLAGS = -I../../include +LIBS = ../../lib/crtdll/crtdll.a ../../lib/kernel32/kernel32.a + +all: $(PROGS) + +.phony: all + +clean: + - $(RM) *.o + - $(RM) *.exe + - $(RM) *.sym + +.phony: clean + +install: $(PROGS:%=$(FLOPPY_DIR)/apps/%) + +$(PROGS:%=$(FLOPPY_DIR)/apps/%): $(FLOPPY_DIR)/apps/%: % + $(CP) $* $(FLOPPY_DIR)/apps/$* + +dist: $(PROGS:%=../../$(DIST_DIR)/apps/%) + +$(PROGS:%=../../$(DIST_DIR)/apps/%): ../../$(DIST_DIR)/apps/%: % + $(CP) $* ../../$(DIST_DIR)/apps/$* + +npserver.exe: $(SRV_OBJECTS) $(LIBS) + $(LD) $(SRV_OBJECTS) $(LIBS) -o npserver.exe + $(NM) --numeric-sort npserver.exe > npserver.sym + +npclient.exe: $(CLT_OBJECTS) $(LIBS) + $(LD) $(CLT_OBJECTS) $(LIBS) -o npclient.exe + $(NM) --numeric-sort npclient.exe > npclient.sym + + +include ../../rules.mak