shithub: riscv

ref: 167ea748f8b20a5940108ef5b23132310213e77e
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