shithub: riscv

ref: 1b09060f468f530af2f4ef75441a40084e912e54
dir: /sys/src/cmd/grap/mkfile/

View raw version
</$objtype/mkfile

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\

BIN=/$objtype/bin
</sys/src/cmd/mkone
CC=pcc
LD=pcc
YFLAGS = -d -S
CFLAGS=-c

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

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

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