shithub: misc

ref: a8873f75169ddcb7d280f23e834926ef577b2530
dir: misc/mkfile

View raw version
</$objtype/mkfile
TARG=\
	calc\
	cpick\
	hcol\
	lr\
	mev\
	rfx\
	spd\
	tev\
	wstat\

HFILES=
YFLAGS=-D
</sys/src/cmd/mkmany
BIN=$home/bin/$objtype

%.tab.h %.tab.c:D:	%.y
	$YACC $YFLAGS -s $stem $prereq

(calc).c:R:	\1.tab.c
	mv $stem1.tab.c $stem1.c