# $Header: Makefile,v 4.300 91/06/08 01:50:14 root Rel41 $ SONY;
#
# Copyright (c) 1986 Regents of the University of California.
# All rights reserved.  The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
#	@(#)Makefile	6.2 (Berkeley) 4/16/86
#
SRCS=	ref.me
TROFF=	ditroff

paper:	ref.out
	lpr -n ref.out

ref.out: ${SRCS}
	${TROFF} -me -t ${SRCS} > ref.out

clean:
	rm -f ref.out *.spell errs Errs make.out

spell:	${SRCS}
	@for i in ${SRCS}; do \
		echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
	done
