Flush out the last dregs in the terminal before quitting when
[unix-history] / usr / src / usr.bin / gprof / PSD.doc / Makefile
CommitLineData
ed9ad917 1#
506374aa
KM
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.
ed9ad917 5#
c0e4adaa 6# @(#)Makefile 5.2 (Berkeley) %G%
506374aa
KM
7#
8SRCS= header.me abstract.me intro.me profiling.me gathering.me \
9 postp.me present.me refs.me
c0e4adaa 10PICSRC= postp1.pic postp2.pic postp3.pic pres1.pic pres2.pic
506374aa
KM
11MACROS= -me
12PRINTER=Pdp
c0e4adaa 13SOELIM= soelim
506374aa
KM
14EQN= deqn -${PRINTER}
15TBL= dtbl -${PRINTER}
c0e4adaa 16PIC= pic -${PRINTER}
506374aa 17TROFF= ditroff -${PRINTER}
ed9ad917 18
506374aa
KM
19paper: paper.${PRINTER}
20 lpr -${PRINTER} -n paper.${PRINTER}
ed9ad917 21
c0e4adaa
KM
22paper.${PRINTER}: ${SRCS} ${PICSRC}
23 ${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${EQN} | \
24 ${TROFF} ${MACROS} -t > paper.${PRINTER}
ed9ad917
PK
25
26clean:
c0e4adaa 27 rm -f paper.[PTp]* *.spell errs Errs make.out
506374aa
KM
28
29spell: ${SRCS}
30 @for i in ${SRCS}; do \
31 echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \
32 done