shithub: riscv

ref: dae5a44111dfb21a714824a5cec2abee4f9f9080
dir: /sys/src/cmd/vl/mkfile/

View raw version
</$objtype/mkfile

TARG=vl
OFILES=\
	asm.$O\
	list.$O\
	noop.$O\
	sched.$O\
	obj.$O\
	optab.$O\
	pass.$O\
	span.$O\
	enam.$O\
	compat.$O\

HFILES=\
	l.h\
	../vc/v.out.h\

BIN=/$objtype/bin
</sys/src/cmd/mkone

enam.$O:	../vc/enam.c
	$CC $CFLAGS ../vc/enam.c

x:V:	$O.out
	$O.out -la -o/dev/null x.v

test:V:	$O.out
	rm -f xxx
	mv $O.out xxx
	./xxx $OFILES
	cmp $O.out xxx