shithub: sox

ref: e2d5e5bd63e3acfb99a91e1bf04cfb9d44a60441
dir: /mkfile/

View raw version
</$objtype/mkfile

TARG=sox
BIN=/$objtype/bin/audio
CFLAGS=$CFLAGS -p -D__plan9__ -I/sys/include/npe -Isrc
LIB=src/libsox.a$O

OFILES=\
	src/sox.$O\

HFILES=\
	src/sox.h\

</sys/src/cmd/mkone

%.$O: %.c
	$CC $CFLAGS -o $target $stem.c

$LIB:
	cd src && mk

clean:V:
	rm -f [$OS].out $TARG
	cd src && mk clean