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

Contents of /sun2.4/odt/Makefile

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


Revision 1.3 - (show annotations)
Thu Aug 26 21:09:24 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 -inostdinc -I/usr/include -DUNIX -DSOLARIS -DUSECB63
2 CFLAGS = -g -c -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(TOP)/share/src/odt
10
11 INCLUDES = \
12 -I$(SRC) \
13 -I$(SHAREPATH)/epicsH
14
15 ALLDEFINES = $(INCLUDES) -DSOLARIS -DUSECB63
16
17 STDLIBS = -lm -lsocket -lnsl
18 LIBS = \
19 ../bin/libtis.a \
20 ../bin/tisMsgLib.a
21
22 SRCS = $(SRC)/odtMain.c
23 OBJS = odtMain.o
24
25 all : depend odt
26
27 odt : $(OBJS) $(LIBS)
28 $(RM) odt
29 $(CC) -o odt $(OBJS) $(LIBS) $(STDLIBS)
30
31 odtMain.o : $(SRC)/odtMain.c
32 $(RM) odtMain.o
33 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/odtMain.c
34
35 install : odt
36 cp -p odt ../bin
37
38 clean :
39 $(RM) $(OBJS)
40 $(RM) odt
41 $(RM) Makefile.depend
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.28