1 1.15 andvar # $NetBSD: Makefile,v 1.15 2021/12/03 13:27:38 andvar Exp $ 2 1.7 perry # from: @(#)Makefile 8.2 (Berkeley) 5/23/94 3 1.1 cgd 4 1.12 dholland SECTION=reference/ref3 5 1.11 dholland ARTICLE=curses 6 1.1 cgd SRCS= Master 7 1.11 dholland CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr 8 1.11 dholland DEPSRCS=appen.A appen.B appen.C doc.I doc.II doc.III doc.IV fns.doc \ 9 1.11 dholland intro.0 intro.1 intro.2.tbl intro.3 intro.4 intro.5 intro.6 \ 10 1.11 dholland macros c_macros $(CEXAMPLES) 11 1.1 cgd MACROS= -me 12 1.11 dholland CLEANFILES+= ${CEXAMPLES} intro.2.tbl 13 1.1 cgd 14 1.1 cgd .SUFFIXES: 15 1.1 cgd .SUFFIXES: .c .gr 16 1.1 cgd 17 1.1 cgd # 18 1.1 cgd # this section formats C input source into nice troffable (or nroffable) 19 1.15 andvar # versions. It uses the capabilities of "vgrind", which sets keywords in 20 1.1 cgd # bold font, and comments in italics. 21 1.1 cgd # 22 1.1 cgd 23 1.1 cgd # Don't re-run vgrind unless you want to patch the output files. 24 1.13 christos 25 1.1 cgd .c.gr: 26 1.14 christos ${TOOL_VFONTEDPR} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET} 27 1.1 cgd 28 1.8 tron # Unfortunately our make doesn't handle single-suffix rules. 29 1.1 cgd intro.2.tbl: intro.2 30 1.10 lukem ${TOOL_TBL} ${.ALLSRC} > ${.TARGET} 31 1.1 cgd 32 1.1 cgd .include <bsd.doc.mk> 33