Change parse to parseaddr for BB&N TCP/IP implementation; clean up
[unix-history] / usr / src / old / htable / Makefile
CommitLineData
6017a464 1# @(#)Makefile 4.2 %G%
b2bfe6d1
SL
2OPTIONS=-DLOCALNET=46
3CFLAGS= -O
6017a464 4DESTDIR=
b2bfe6d1
SL
5ALL= htable
6
7all: htable
8
9htable: htable.o parse.o scan.o
10 ${CC} htable.o parse.o scan.o -o htable
11
12htable.o: htable.c htable.h
13 ${CC} ${CFLAGS} ${OPTIONS} -c htable.c
14
15scan.o: scan.c htable.h y.tab.h
16
17parse.o: parse.c htable.h
18
19scan.c: scan.l
20
21parse.c: parse.y
22
23y.tab.h:
24 ${YACC} -d parse.y
25 rm y.tab.c
26
27clean:
28 rm -f ${ALL} *.o *.s y.tab.h errs
29
30install:
6017a464 31 install htable ${DESTDIR}/etc