shithub: riscv

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

View raw version
</$objtype/mkfile

TARG=7l
OFILES=\
	asm.$O\
	asmout.$O\
	enam.$O\
	bits.$O\
	cnam.$O\
	compat.$O\
	dyn.$O\
	list.$O\
	noop.$O\
	obj.$O\
	optab.$O\
	span.$O\
	pass.$O\
	mod.$O\

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

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

../7c/enam.c: ../7c/7.out.h
	@ { cd ../7c; mk enam.c }

cnam.c:	l.h mkcname
	rc ./mkcname

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

compat.$O:	../cc/compat

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