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

Contents of /sun2.4/tisLdisp/Makefile

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


Revision 1.2 - (show annotations)
Tue Aug 17 20:35:33 1999 UTC (24 years, 6 months ago) by tis4000
Branch: MAIN
Changes since 1.1: +8 -27 lines
08-17-99	ems	added target depend, which creates Makefile.depend
			since the dependancies are differant from machine to
			machine, not having the dependancies in the Makefile
			will not confuse CVS

1 CC = gcc -inostdinc -I/usr/include -DSOLARIS
2 CFLAGS = -c -g -Wunused
3
4 RM = rm -f
5
6 TOP = ../../..
7 SHAREPATH = $(TOP)/share
8 SRCPATH = $(TOP)/share/src
9 SRC = $(TOP)/share/src/tisLdisp
10
11 INCLUDES = \
12 -I$(SRC) \
13 -I/usr/openwin/include \
14 -I/usr/dt/include
15
16 ALLDEFINES = $(INCLUDES) -DSOLARIS
17
18 SRCS = $(SRC)/tisLdisp.c
19
20 OBJS = tisLdisp.o
21
22 all:: depend tisLdisp
23
24 tisLdisp: tisLdisp.o
25 $(RM) tisLdisp
26 $(CC) -o tisLdisp tisLdisp.o \
27 -lMrm -lXm -lm -lXt -lX11 -lsocket -lnls -lgen
28
29 tisLdisp.o: $(SRC)/tisLdisp.c
30 $(CC) $(CFLAGS) $(INCLUDES) $(SRC)/tisLdisp.c
31
32 install:
33 cp -p tisLdisp ../bin
34
35 clean::
36 $(RM) tisLdisp
37 $(RM) $(OBJS)
38 $(RM) Makefile.depend
39
40 depend: Makefile.depend
41
42 Makefile.depend: $(SRCS)
43 $(RM) Makefile.depend
44 $(CC) -M $(ALLDEFINES) $(SRCS) > Makefile.depend
45
46 include Makefile.depend
47

  ViewVC Help
Powered by ViewVC 1.1.30