|
|
Power 6/32 Unix version 1.21
# @(#)Makefile 4.5 5/28/83
MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR}
OPTIONS=-DLOCALNET=46
CFLAGS= -O -I${INCLDIR}
DESTDIR=
ALL= htable
all: ${ALL}
htable: htable.o parse.o scan.o
${CC} htable.o parse.o scan.o -o htable
htable.o: htable.c htable.h
${CC} ${CFLAGS} ${OPTIONS} -c htable.c
scan.o: scan.c htable.h y.tab.h
parse.o: parse.c htable.h
scan.c: scan.l
parse.c: parse.y
y.tab.h:
${YACC} -d parse.y
rm y.tab.c
clean:
rm -f ${ALL} *.o *.s y.tab.h errs
cleansrc:
rm -f *.[chyl] Makefile
install:
install -s htable ${DESTDIR}/etc/htable
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.