xref: /original-bsd/old/ratfor/USD.doc/Makefile (revision a95f03a8)
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.1 (Berkeley) 04/29/86
7#
8SRCS=	m.mac m0 m1 m2 m3 m4 m5 m9 m99
9MACROS=	-msU
10PRINTER=Pdp
11TROFF=	ditroff -${PRINTER}
12
13paper:	paper.${PRINTER}
14	lpr -${PRINTER} -n paper.${PRINTER}
15
16paper.${PRINTER}: ${SRCS}
17	${TROFF} ${MACROS} -t ${SRCS} > paper.${PRINTER}
18
19clean:
20	rm -f paper.[PT]* *.spell errs Errs make.out
21
22spell:	${SRCS}
23	@for i in ${SRCS}; do \
24		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
25	done
26