shithub: riscv

ref: b0377e84cf31c48afed765c433abe7eebb4135a5
dir: /sys/src/cmd/lex/mkfile/

View raw version
</$objtype/mkfile

TARG=lex
OFILES=lmain.$O\
	y.tab.$O\
	sub1.$O\
	sub2.$O\
	header.$O\

HFILES=ldefs.h\

YFILES=parser.y\

BIN=/$objtype/bin
UPDATE=\
	mkfile\
	$HFILES\
	lmain.c\
	sub1.c\
	sub2.c\
	header.c\
	${TARG:%=/386/bin/%}\

</sys/src/cmd/mkone

installall:V:
	for(objtype in $CPUS)
		mk install
	cp ncform /sys/lib/lex