Makefile revision 1.11
1#	$NetBSD: Makefile,v 1.11 2014/07/05 19:22:03 dholland Exp $
2#	from: @(#)Makefile	8.2 (Berkeley) 5/23/94
3
4SECTION=psd
5ARTICLE=curses
6SRCS=	Master
7CEXAMPLES= ex1.gr ex2.gr life.gr twinkle1.gr twinkle2.gr win_st.gr
8DEPSRCS=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)
11MACROS=	-me
12CLEANFILES+= ${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 capabilites of "vgrind", which sets keywords in
20# bold font, and comments in italics.
21#
22
23
24# Don't re-run vgrind unless you want to patch the output files.
25# XXXBUILDSH: can we use TOOL_VGRIND here ?
26VFONT=	/usr/libexec/vfontedpr
27.c.gr:
28	${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET}
29
30# Unfortunately our make doesn't handle single-suffix rules.
31intro.2.tbl: intro.2
32	${TOOL_TBL} ${.ALLSRC} > ${.TARGET}
33
34.include <bsd.doc.mk>
35