1#
2# Copyright (c) 1986 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	6.2 (Berkeley) 06/17/86
7#
8SRCS=	implement
9PICFILES= fig1.pic fig2.pic
10MACROS=	-ms
11PRINTER=Pdp
12TROFF=	ditroff -${PRINTER}
13REFER=	refer -p /usr/old/dict/papers/Ind -e
14PIC= pic -${PRINTER}
15
16paper:	paper.${PRINTER}
17	lpr -${PRINTER} -n paper.${PRINTER}
18
19paper.${PRINTER}: ${SRCS} ${PICFILES}
20	soelim   ${SRCS} > paper.pic
21	${REFER} paper.pic | ${PIC} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
22
23clean:
24	rm -f paper.[PT]* *.spell errs Errs make.out
25
26spell:	${SRCS}
27	@for i in ${SRCS}; do \
28		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
29	done
30