/[TIS-4000 Rel T60]/sun2.4/fwdlink/Makefile
ViewVC logotype

Contents of /sun2.4/fwdlink/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations)
Thu Aug 26 20:55:05 1999 UTC (23 years, 3 months ago) by tis4000
Branch: MAIN
CVS Tags: t55baseline, Duluth_baseline, LMC_baseline, HEAD
Changes since 1.2: +1 -1 lines
made Makefile.depend dependant on Makefile

1 CC = gcc -g -DSOLARIS -DUSECB63
2 CFLAGS = -Wunused
3 RM = rm -f
4
5 CODEBASEPATH = /tools/codebase63/source
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(SRCPATH)/fwdlink
10
11 LIBS = \
12 ../bin/tisMsgLib.a \
13 $(CODEBASEPATH)/libcb.a
14
15 INCLUDES = \
16 -I$(SRC) \
17 -I$(TOP)/share/epicsH \
18 -I$(CODEBASEPATH)
19
20 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
21
22 SRCS = \
23 $(SRC)/chains.c \
24 $(SRC)/index.c
25
26 OBJS = \
27 chains.o \
28 index.o
29
30 all : depend chains
31
32 chains : $(OBJS) $(LIBS)
33 $(RM) chains
34 $(CC) -o chains $(OBJS) $(LIBS) -ldl -lm
35
36 chains.o : $(SRC)/chains.c
37 $(RM) chains.o
38 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/chains.c
39
40 index.o : $(SRC)/index.c
41 $(RM) index.o
42 $(CC) -c $(CFLAGS) $(INCLUDES) $(SRC)/index.c
43
44 install:
45 cp -p chains ../bin
46
47 clean:
48 $(RM) chains
49 $(RM) $(OBJS)
50 $(RM) Makefile.depend
51
52 depend: Makefile.depend
53
54 Makefile.depend: $(SRCS) Makefile
55 $(RM) Makefile.depend
56 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
57
58 include Makefile.depend
59

  ViewVC Help
Powered by ViewVC 1.1.28