|
|
1.1 root 1: #
2: # Copyright (c) 1980 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 5.2 (Berkeley) 9/18/85
7: #
8: CFLAGS= -O
9: DESTDIR=
10: ALL= htable
11:
12: all: ${ALL}
13:
14: htable: htable.o parse.o scan.o
15: ${CC} htable.o parse.o scan.o -o htable
16:
17: htable.o: htable.c htable.h
18: ${CC} ${CFLAGS} -c htable.c
19:
20: scan.o: scan.c htable.h y.tab.h
21:
22: parse.o: parse.c htable.h
23:
24: scan.c: scan.l
25:
26: parse.c: parse.y
27:
28: y.tab.h:
29: ${YACC} -d parse.y
30: rm y.tab.c
31:
32: clean:
33: rm -f ${ALL} *.o *.s parse.c scan.c y.tab.h errs
34:
35: install:
36: 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.