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