Corrected additional object manager issues pointed by Philip Susi
[reactos.git] / reactos / subsys / csrss / makefile
1 # $Id: makefile,v 1.3 1999/12/22 14:48:29 dwelch Exp $
2 #
3 # CSRSS: Client/server runtime subsystem
4 #
5 # ReactOS Operating System
6 #
7 TARGET=csrss
8
9 BASE_CFLAGS = -I../../include -I.
10
11 OBJECTS_API = api/process.o api/wapi.o
12
13 OBJECTS_SBAPI =
14
15 OBJECTS_MISC = $(TARGET).o init.o $(TARGET).coff
16
17 OBJECTS = $(OBJECTS_API) $(OBJECTS_SBAPI) $(OBJECTS_MISC)
18
19 LIBS = ../../lib/ntdll/ntdll.a
20
21 all: $(TARGET).exe
22
23 .phony: all
24
25 clean:
26 - $(RM) api/*.o
27 - $(RM) sbapi/*.o
28 - $(RM) *.o
29 - $(RM) $(TARGET).exe
30 - $(RM) $(TARGET).sym
31 - $(RM) $(TARGET).coff
32
33 .phony: clean
34
35 $(TARGET).coff: $(TARGET).rc
36 $(RC) $(TARGET).rc $(TARGET).coff
37
38 $(TARGET).exe: $(OBJECTS) $(LIBS)
39 $(LD) \
40 $(OBJECTS) \
41 $(LIBS) \
42 -o $(TARGET).exe \
43 --subsystem native
44 $(NM) --numeric-sort $(TARGET).exe > $(TARGET).sym
45
46 include ../../rules.mak
47
48 # EOF