xref: /plan9/sys/src/cmd/postscript/mkfile (revision 696c1e60c910958ad30cdfb7404030ea707cbbf1)
1</$objtype/mkfile
2
3<config
4
5#
6# $(TARGETS) is the default list of things built by make.
7#
8# buildtables
9
10TARGETS=common\
11	cropmarks\
12	download\
13	grabit\
14	hardcopy\
15	mpictures\
16	postgif\
17	postprint\
18	postreverse\
19	posttek\
20	printfont\
21	psencoding\
22	psfiles\
23	g3p9bit\
24	p9bitpost\
25	tcpostio\
26	text2post\
27	tr2post
28
29# UNIX remnants
30#	trofftable\
31#	picpack\
32#	postbgi\
33#	postdaisy\
34#	postdmd\
35#	postmd
36#	postio
37
38default:V:	all
39
40$TARGETS:V:
41	cd $target
42	mk all
43
44&:VQ:
45	test -d $POSTBIN || mkdir $POSTBIN
46	for (i in $TARGETS) @{
47		echo ---- Making $target in $i ----
48		cd $i
49		rfork e
50		if (~ $target default)
51			target=()
52		mk $target
53	}
54