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