aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/grap/mkfile
blob: 12006fd3823784ba13ea67bd77924437eaf68646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<$PLAN9/src/mkhdr

TARG=grap
OFILES=\
	grap.$O\
	grapl.$O\
	main.$O\
	input.$O\
	print.$O\
	frame.$O\
	for.$O\
	coord.$O\
	ticks.$O\
	plot.$O\
	label.$O\
	misc.$O\

HFILES=grap.h\
	y.tab.h\

YFILES=grap.y
LFILES=grapl.lx

<$PLAN9/src/mkone
YFLAGS=-d -S

grap.c:	y.tab.c
	mv $prereq $target

grapl.c:D: $LFILES
	$LEX -t $prereq > $target

clean:V:
	rm -f [$OS].out *.[$OS] y.tab.? lex.yy.c grapl.c grap.c grap