1# @(#)Makefile 4.2 10/21/82 2OPTIONS=-DLOCALNET=46 3CFLAGS= -O 4DESTDIR= 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: 31 install htable ${DESTDIR}/etc 32