shithub: riscv

ref: 88412aa050adddde5cacf3a45e914bad9a5d3e22
dir: /sys/src/cmd/6c/mkfile/

View raw version
</$objtype/mkfile

TARG=6c
OFILES=\
	cgen.$O\
	enam.$O\
	list.$O\
	sgen.$O\
	swt.$O\
	txt.$O\
	reg.$O\
	peep.$O\
	pgen.$O\
	pswt.$O\
	machcap.$O\
	div.$O\
	mul.$O\

HFILES=\
	gc.h\
	6.out.h\
	../cc/compat.h\
	../cc/cc.h\

LIB=../cc/cc.a$O

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

$LIB:	../cc/cc.h
	cd ../cc
	mk install

%.$O: ../cc/%.c
	$CC $CFLAGS ../cc/$stem.c

bound.$O:	bound.h

enam.c:	6.out.h
	rc mkenam