shithub: riscv

ref: 990ceeef3bfd9d56e2e6dd39cf5ac185b1a2de08
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