shithub: riscv

ref: 3a77c01f43821dcc4f7cae54aff89bb20f2d95a5
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/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