shithub: riscv

ref: eed13a5c22662fe4c77b8587e7a53c9b1ae96acb
dir: /sys/src/cmd/7l/mkfile/

View raw version
</$objtype/mkfile

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

HFILES=\
	l.h\
	../7c/7.out.h\

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

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

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

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