# $Header: Makefile,v 4.300 91/06/08 01:36:12 root Rel41 $ SONY;
#
# Copyright (c) 1980 Regents of the University of California.
# All rights reserved.  The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
#	@(#)Makefile	6.1 (Berkeley) 5/7/86
#
TROFF=	ditroff
EQN=	eqn
TBL=	tbl
LPR=	lpr -n

SRCS=	adb.ms

paper:	adb.n
	${LPR} adb.n

adb.n:	${SRCS}
	${EQN} ${SRCS} | ${TBL} | ${TROFF} -t -ms >adb.n

clean:
	rm -f adb.n *.spell

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