made minimum granularity of vertical movement a parameter read from DESC file
[unix-history] / usr / src / old / htable / Makefile
CommitLineData
99d3ae94 1# @(#)Makefile 4.6 %G%
b2bfe6d1 2CFLAGS= -O
6017a464 3DESTDIR=
bcc152c2 4ALL= htable
b2bfe6d1 5
b2ac07a4 6all: ${ALL}
b2bfe6d1
SL
7
8htable: htable.o parse.o scan.o
9 ${CC} htable.o parse.o scan.o -o htable
10
11htable.o: htable.c htable.h
99d3ae94 12 ${CC} ${CFLAGS} -c htable.c
b2bfe6d1
SL
13
14scan.o: scan.c htable.h y.tab.h
15
16parse.o: parse.c htable.h
17
18scan.c: scan.l
19
20parse.c: parse.y
21
22y.tab.h:
23 ${YACC} -d parse.y
24 rm y.tab.c
25
26clean:
27 rm -f ${ALL} *.o *.s y.tab.h errs
28
29install:
b2ac07a4 30 install -s htable ${DESTDIR}/etc/htable