Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
</$objtype/mkfile
2
 
3
TARG=grap
4
OFILES=\
5
	grap.$O\
6
	grapl.$O\
7
	main.$O\
8
	input.$O\
9
	print.$O\
10
	frame.$O\
11
	for.$O\
12
	coord.$O\
13
	ticks.$O\
14
	plot.$O\
15
	label.$O\
16
	misc.$O\
17
 
18
HFILES=grap.h\
19
	y.tab.h\
20
 
21
YFILES=grap.y\
22
 
23
LFILES=grapl.lx\
24
 
25
BIN=/$objtype/bin
26
</sys/src/cmd/mkone
27
CC=pcc
28
LD=pcc
29
YFLAGS = -d -S
30
CFLAGS=-FTV -c
31
 
32
grap.c:	y.tab.c
33
	mv $prereq $target
34
 
35
grapl.c:	$LFILES
36
	$LEX -t $prereq > $target
37
 
38
clean:V:
39
	rm -f [$OS].out *.[$OS] y.tab.? lex.yy.c grapl.c grap.c grap