1 1.7 perry # $NetBSD: Makefile,v 1.7 1998/01/09 04:12:02 perry Exp $ 2 1.7 perry # from: @(#)Makefile 8.2 (Berkeley) 5/23/94 3 1.1 cgd 4 1.1 cgd DIR= psd/19.curses 5 1.1 cgd SRCS= Master 6 1.1 cgd MACROS= -me 7 1.4 cgd EXTRA= appen.A appen.B appen.C c_macros doc.I doc.II doc.III \ 8 1.3 cgd doc.IV ex1.c ex2.c fns.doc intro.0 intro.1 intro.2 intro.3 \ 9 1.3 cgd intro.4 intro.5 intro.6 life.c macros twinkle1.c twinkle2.c \ 10 1.3 cgd win_st.c 11 1.1 cgd 12 1.1 cgd CLEANFILES+=win_st.gr twinkle1.gr twinkle2.gr life.gr intro.2.tbl appen.A.tbl \ 13 1.1 cgd ex1.gr ex2.gr 14 1.1 cgd 15 1.1 cgd .SUFFIXES: 16 1.1 cgd .SUFFIXES: .c .gr 17 1.1 cgd 18 1.1 cgd # 19 1.1 cgd # this section formats C input source into nice troffable (or nroffable) 20 1.1 cgd # versions. It uses the capabilites of "vgrind", which sets keywords in 21 1.1 cgd # bold font, and comments in italics. 22 1.1 cgd # 23 1.1 cgd 24 1.1 cgd # Don't re-run vgrind unless you want to patch the output files. 25 1.1 cgd VFONT= /usr/libexec/vfontedpr 26 1.1 cgd .c.gr: 27 1.5 christos ${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET} 28 1.1 cgd 29 1.1 cgd paper.ps: ${SRCS} 30 1.6 christos ${SOELIM} -I${.CURDIR} ${.ALLSRC} | ${ROFF} > ${.TARGET} 31 1.1 cgd 32 1.1 cgd Master: twinkle1.gr ex1.gr ex2.gr fns.doc intro.5 intro.2.tbl intro.0 intro.1 \ 33 1.1 cgd intro.3 intro.4 intro.6 macros c_macros 34 1.1 cgd 35 1.1 cgd intro.2.tbl: intro.2 36 1.5 christos ${TBL} ${.ALLSRC} > intro.2.tbl 37 1.1 cgd 38 1.1 cgd .include <bsd.doc.mk> 39