shithub: riscv

ref: cd747191012d0420ac631340d962da1f80cef0a5
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