1 # $NetBSD: Makefile,v 1.14 2014/07/15 13:27:58 christos Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 5/23/94
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
)
12 CLEANFILES
+= ${CEXAMPLES} intro
.2.tbl
18 # this section formats C input source into nice troffable (or nroffable)
19 # versions. It uses the capabilites of "vgrind", which sets keywords in
20 # bold font, and comments in italics.
23 # Don't re-run vgrind unless you want to patch the output files.
26 ${TOOL_VFONTEDPR} ${.IMPSRC
} | grep
-v
"^'wh" > ${.TARGET
}
28 # Unfortunately our make doesn't handle single-suffix rules.
30 ${TOOL_TBL} ${.ALLSRC
} > ${.TARGET
}