Parent Directory
|
Revision Log
|
Revision Graph
made Makefile.depend dependant on Makefile
1 | CC = gcc -g -inostdinc -I/usr/include -DUNIX -DSOLARIS -UvxWorks |
2 | CFLAGS = -g -c -Wunused |
3 | RM = rm -f |
4 | |
5 | TOP = ../../.. |
6 | SRC = $(TOP)/share/src/cau |
7 | LIBS = \ |
8 | ../bin/libCom.a \ |
9 | ../bin/libca.a \ |
10 | ../bin/tisMsgLib.a |
11 | |
12 | INCLUDES = \ |
13 | -I$(TOP)/share/epicsH |
14 | |
15 | ALLDEFINES = $(INCLUDES) |
16 | |
17 | SRCS = \ |
18 | $(SRC)/cau.c |
19 | |
20 | OBJS = \ |
21 | cau.o |
22 | |
23 | all:: depend cau |
24 | |
25 | cau: $(OBJS) $(LIBS) |
26 | $(RM) cau |
27 | $(CC) -o cau $(OBJS) \ |
28 | $(LIBS) -lm -ldl -lsocket -lnsl |
29 | |
30 | cau.o: $(SRC)/cau.c |
31 | $(RM) cau.o |
32 | $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/cau.c |
33 | |
34 | clean: |
35 | $(RM) cau |
36 | $(RM) $(OBJS) |
37 | $(RM) Makefile.depend |
38 | |
39 | install: |
40 | cp -p cau ../bin |
41 | @cd $(TOP)/share/bin; $(RM) cau; ln -s unixTools cau |
42 | |
43 | depend: Makefile.depend |
44 | |
45 | Makefile.depend: $(SRCS) Makefile |
46 | $(RM) Makefile.depend |
47 | $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
48 | |
49 | include Makefile.depend |
50 |
ViewVC Help | |
Powered by ViewVC 1.1.30 |