mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
Added makefile
svn path=/trunk/; revision=1886
This commit is contained in:
parent
4304c92e6e
commit
3f98a7dd14
1 changed files with 44 additions and 0 deletions
44
reactos/apps/tests/nptest/Makefile
Normal file
44
reactos/apps/tests/nptest/Makefile
Normal file
|
@ -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
|
Loading…
Reference in a new issue