Makefile revision 1.5
1#	@(#)Makefile	8.2 (Berkeley) 5/23/94
2
3DIR=	psd/19.curses
4SRCS=	Master
5MACROS=	-me
6EXTRA=	appen.A appen.B appen.C c_macros doc.I doc.II doc.III \
7	doc.IV ex1.c ex2.c fns.doc intro.0 intro.1 intro.2 intro.3 \
8	intro.4 intro.5 intro.6 life.c macros twinkle1.c twinkle2.c \
9	win_st.c
10
11CLEANFILES+=win_st.gr twinkle1.gr twinkle2.gr life.gr intro.2.tbl appen.A.tbl \
12	ex1.gr ex2.gr
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# Don't re-run vgrind unless you want to patch the output files.
24VFONT=	/usr/libexec/vfontedpr
25.c.gr:
26	${VFONT} ${.IMPSRC} | grep -v "^'wh" > ${.TARGET}
27
28paper.ps: ${SRCS}
29	soelim -I${.CURDIR} ${.ALLSRC} | ${ROFF} > ${.TARGET}
30
31Master: twinkle1.gr ex1.gr ex2.gr fns.doc intro.5 intro.2.tbl intro.0 intro.1 \
32	intro.3 intro.4 intro.6 macros c_macros
33
34intro.2.tbl: intro.2
35	${TBL} ${.ALLSRC} > intro.2.tbl
36
37.include <bsd.doc.mk>
38.include <bsd.obj.mk>
39