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