shithub: riscv

ref: 39bf5b987e8ab53a74adec5a15b30f4eda85b357
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