shithub: riscv

ref: 65ef69a85d1c0f4694a361f5a0a99bdbb4f2cd95
dir: /sys/src/cmd/rc/mkfile/

View raw version
</$objtype/mkfile

TARG=rc
OFILES=\
	code.$O\
	exec.$O\
	getflags.$O\
	glob.$O\
	here.$O\
	io.$O\
	lex.$O\
	pcmd.$O\
	pfnc.$O\
	simple.$O\
	subr.$O\
	trap.$O\
	tree.$O\
	var.$O\
	havefork.$O\
	plan9.$O\
	y.tab.$O\

HFILES=rc.h\
	y.tab.h\
	io.h\
	exec.h\
	fns.h\
	getflags.h\

YFILES=syn.y

BIN=/$objtype/bin

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	$YFILES\
	${TARG:%=/386/bin/%}\

CFLAGS=$CFLAGS -DPlan9

</sys/src/cmd/mkone

clean:V:
	rm -f [$OS].out *.[$OS] y.tab.? y.debug $TARG