1*27499Scuccia#
2*27499Scuccia# Copyright (c) 1986 Regents of the University of California.
3*27499Scuccia# All rights reserved.  The Berkeley software License Agreement
4*27499Scuccia# specifies the terms and conditions for redistribution.
5*27499Scuccia#
6*27499Scuccia#	@(#)Makefile	6.1 (Berkeley) 04/29/86
7*27499Scuccia#
8*27499ScucciaSRCS=	implement
9*27499ScucciaMACROS=	-ms
10*27499ScucciaPRINTER=Pdp
11*27499ScucciaTROFF=	ditroff -${PRINTER}
12*27499ScucciaREFER=	refer -p /usr/old/dict/papers/Ind -e
13*27499Scuccia
14*27499Scucciapaper:	paper.${PRINTER}
15*27499Scuccia	lpr -${PRINTER} -n paper.${PRINTER}
16*27499Scuccia
17*27499Scucciapaper.${PRINTER}: ${SRCS}
18*27499Scuccia	${REFER} ${SRCS} | ${TROFF} ${MACROS} -t > paper.${PRINTER}
19*27499Scuccia
20*27499Scucciaclean:
21*27499Scuccia	rm -f paper.[PT]* *.spell errs Errs make.out
22*27499Scuccia
23*27499Scucciaspell:	${SRCS}
24*27499Scuccia	@for i in ${SRCS}; do \
25*27499Scuccia		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
26*27499Scuccia	done
27