shithub: riscv

ref: a557c515c8c9c01fdb4f6cc850665be05accd84c
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\
	../cc/compat.h\

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

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

compat.$O:	../cc/compat

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