shithub: riscv

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