Commit | Line | Data |
---|---|---|
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 | # |
8 | SRCS= header.me abstract.me intro.me profiling.me gathering.me \ | |
9 | postp.me present.me refs.me | |
c0e4adaa | 10 | PICSRC= postp1.pic postp2.pic postp3.pic pres1.pic pres2.pic |
506374aa KM |
11 | MACROS= -me |
12 | PRINTER=Pdp | |
c0e4adaa | 13 | SOELIM= soelim |
506374aa KM |
14 | EQN= deqn -${PRINTER} |
15 | TBL= dtbl -${PRINTER} | |
c0e4adaa | 16 | PIC= pic -${PRINTER} |
506374aa | 17 | TROFF= ditroff -${PRINTER} |
ed9ad917 | 18 | |
506374aa KM |
19 | paper: paper.${PRINTER} |
20 | lpr -${PRINTER} -n paper.${PRINTER} | |
ed9ad917 | 21 | |
c0e4adaa KM |
22 | paper.${PRINTER}: ${SRCS} ${PICSRC} |
23 | ${SOELIM} ${SRCS} | ${PIC} | ${TBL} | ${EQN} | \ | |
24 | ${TROFF} ${MACROS} -t > paper.${PRINTER} | |
ed9ad917 PK |
25 | |
26 | clean: | |
c0e4adaa | 27 | rm -f paper.[PTp]* *.spell errs Errs make.out |
506374aa KM |
28 | |
29 | spell: ${SRCS} | |
30 | @for i in ${SRCS}; do \ | |
31 | echo $$i; spell $$i | sort | comm -23 - spell.ok > $$i.spell; \ | |
32 | done |