dce70a074ffa11d2e51d103a7bf13c9a27d31a16
[reactos.git] / reactos / drivers / services / makefile
1 # $Id: makefile,v 1.3 2000/11/20 19:59:13 ekohl Exp $
2 #
3 # CSRSS: Client/server runtime subsystem
4 #
5 # ReactOS Operating System
6 #
7 TARGET = services
8
9 BASE_CFLAGS = -I../../include -I.
10
11 OBJECTS =
12
13 LIBS = ../../lib/ntdll/ntdll.a
14
15 all: $(TARGET).exe
16
17 .phony: all
18
19 clean:
20 - $(RM) api/*.o
21 - $(RM) sbapi/*.o
22 - $(RM) *.o
23 - $(RM) $(TARGET).exe
24 - $(RM) $(TARGET).sym
25 - $(RM) $(TARGET).coff
26
27 .phony: clean
28
29 $(TARGET).coff: $(TARGET).rc
30 $(RC) $(TARGET).rc $(TARGET).coff
31
32 $(TARGET).exe: $(OBJECTS) $(LIBS)
33 $(LD) \
34 $(OBJECTS) \
35 $(LIBS) \
36 -o $(TARGET).exe \
37 --subsystem native
38 $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
39
40
41 install: $(FLOPPY_DIR)/subsys/$(TARGET).exe
42
43 $(FLOPPY_DIR)/subsys/$(TARGET).exe: $(TARGET).exe
44 $(CP) $(TARGET).exe $(FLOPPY_DIR)/subsys/$(TARGET).exe
45
46
47 dist: $(DIST_DIR)/subsys/$(TARGET).exe
48
49 $(DIST_DIR)/subsys/$(TARGET).exe: $(TARGET).exe
50 $(CP) $(TARGET).exe ../../$(DIST_DIR)/subsys/$(TARGET).exe
51
52
53 include ../../rules.mak
54
55 # EOF