shithub: riscv

ref: 01986adbbf75c07c613b11fcb81a8015a71e5664
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