#
# 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.3 (Berkeley) 4/21/86
#
INTRO=	m0
TUTOR=	m0a
PAPER=	m1 m2 m3 m4
APNDX1=	m5
APNDX2=	table1
APNDX3=	table2
MACROS=	m.mac
FMTR1  =  psroff -t
FMTR2  =  nroff


PS:	${INTRO} ${TUTOR} ${PAPER} ${APNDX1} ${APNDX2} ${APNDX3}
	${FMTR1} ${MACROS} ${INTRO} > troff.PS
	tbl ${TUTOR} | ${FMTR1} ${MACROS} - >> troff.PS
	tbl ${PAPER} | ${FMTR1} ${MACROS} - >> troff.PS
	${FMTR1} ${MACROS} ${APNDX1} >> troff.PS
	${FMTR1} ${MACROS} ${APNDX2} >> troff.PS
	${FMTR1} ${MACROS} ${APNDX3} >> troff.PS


screen:	${INTRO} ${TUTOR} ${PAPER} ${APNDX1} ${APNDX2} ${APNDX3}
	${FMTR2} ${MACROS} ${INTRO} > troff.text
	tbl ${TUTOR} | ${FMTR2} ${MACROS} - >> troff.text
	tbl ${PAPER} | ${FMTR2} ${MACROS} - >> troff.text
	${FMTR2} ${MACROS} ${APNDX1} >> troff.text
	${FMTR2} ${MACROS} ${APNDX2} >> troff.text
	${FMTR2} ${MACROS} ${APNDX3} >> troff.text
	${FMTR2} ${MACROS} ${APNDX3} >> troff.text

