1 # @(#)Makefile 8.1 (Berkeley) 8/14/93 2 3 DIR= psd/19.curses 4 SRCS= Master 5 MACROS= -me 6 7 CLEANFILES+=win_st.gr twinkle1.gr twinkle2.gr life.gr intro.2.tbl appen.A.tbl \ 8 ex1.gr ex2.gr 9 10 .SUFFIXES: 11 .SUFFIXES: .c .gr 12 13 # 14 # this section formats C input source into nice troffable (or nroffable) 15 # versions. It uses the capabilites of "vgrind", which sets keywords in 16 # bold font, and comments in italics. 17 # 18 19 # Don't re-run vgrind unless you want to patch the output files. 20 VFONT= /usr/libexec/vfontedpr 21 .c.gr: 22 ${VFONT} $*.c | grep -v "^'wh" > $*.gr 23 24 paper.ps: ${SRCS} 25 ${ROFF} ${SRCS} > ${.TARGET} 26 27 Master: twinkle1.gr ex1.gr ex2.gr fns.doc intro.5 intro.2.tbl intro.0 intro.1 \ 28 intro.3 intro.4 intro.6 macros c_macros 29 30 intro.2.tbl: intro.2 31 ${TBL} intro.2 > intro.2.tbl 32 33 .include <bsd.doc.mk> 34 35 36