shithub: riscv

ref: 511421003a44633d8907828aef280acc762cc56b
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