shithub: sox

Download patch

ref: e2d5e5bd63e3acfb99a91e1bf04cfb9d44a60441
parent: e85a7b00a1e08acb2669d14bcc4559cfbf352e7c
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Thu Aug 17 12:43:40 EDT 2023

build sox executable

--- /dev/null
+++ b/mkfile
@@ -1,0 +1,24 @@
+</$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