Parent Directory
|
Revision Log
|
Revision Graph
made Makefile.depend dependant on Makefile
1 | CC = gcc -inostdin -I/usr/include -DUNIX -DSOLARIS |
2 | CFLAGS = -g -c -Wunused |
3 | |
4 | RM = rm -f |
5 | |
6 | TOP = ../../.. |
7 | SRC = $(TOP)/share/src/msgMon |
8 | INC = $(TOP)/share |
9 | |
10 | ALLDEFINES = -I$(INC)/epicsH -DSOLARIS |
11 | |
12 | SRCS = $(SRC)/tisMsgLib.c |
13 | |
14 | all: depend tisMsgLib.a |
15 | |
16 | tisMsgLib.a: tisMsgLib.o |
17 | $(RM) tisMsgLib.a |
18 | ar crv tisMsgLib.a tisMsgLib.o |
19 | cp -p tisMsgLib.a ../bin |
20 | |
21 | tisMsgLib.o: $(SRC)/tisMsgLib.c |
22 | $(CC) $(CFLAGS) -I$(INC)/epicsH $(SRC)/tisMsgLib.c |
23 | |
24 | install : tisMsgLib.a |
25 | cp -p tisMsgLib.a ../bin |
26 | |
27 | clean: |
28 | $(RM) tisMsgLib.a |
29 | $(RM) tisMsgLib.o |
30 | $(RM) Makefile.depend |
31 | |
32 | depend: Makefile.depend |
33 | |
34 | Makefile.depend: $(SRCS) Makefile |
35 | $(RM) Makefile.depend |
36 | $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend |
37 | |
38 | include Makefile.depend |
39 |
ViewVC Help | |
Powered by ViewVC 1.1.30 |