shithub: riscv

ref: 17f7f6be4e1a316c0f5f26ff70e047aece4de2bc
dir: /sys/src/cmd/cc/mkfile.port/

View raw version
LIB=../cc/cc.a$O
BIN=/$objtype/bin
D=${T:%=%c}

default:V: $O.out

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

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

t:V:	$O.out
	$O.out -S t
	$LD -o t.out t.$O
	t.out

enam.c: ../$D/$T.out.h
	rc ../cc/mkenam