shithub: riscv

ref: 0123946b8df36a0215861b66f4fdba42e3c2dc49
dir: /sys/src/cmd/audio/scream/mkfile/

View raw version
</$objtype/mkfile
<../config

TARG=screamenc screamdec
RC=screamsend screamrecv

</sys/src/cmd/mkmany

$O.screamenc: screamenc.$O
$O.screamdec: screamdec.$O

# Override install target to install rc.
install:V:
	for (i in $TARG)
		mk $MKFLAGS $i.install
	for (i in $RC)
		mk $MKFLAGS $i.rcinstall

%.rcinstall:V:
	cp $stem $BIN/$stem
	chmod +x $BIN/$stem