ref: 96270757ecc40d555aa27236c970dda9b4ec1975
parent: 50243ce8b8f884879d506c0900da0591ce4b4603
author: Sigrid Solveig Haflínudóttir <[email protected]>
date: Mon May 24 17:57:21 EDT 2021
build tangled
--- a/mkfile
+++ b/mkfile
@@ -5,7 +5,7 @@
CLEANFILES=$HEADER
-DIRS=modules lib/dr_wav lib/inih lib/kissfft lib/openlpc lib/spa
+DIRS=modules lib/dr_wav lib/inih lib/kissfft lib/openlpc lib/spa tangled
default:V: all
@@ -27,6 +27,7 @@
echo '#pragma lib' "^$PWD^/lib/kissfft/libkissfft.a^$O^"
echo '#pragma lib' "^$PWD^/lib/openlpc/libopenlpc.a^$O^"
echo '#pragma lib' "^$PWD^/lib/spa/libspa.a^$O^"
+ echo '#pragma lib' "^$PWD^/tangled/libtangled.a^$O^"
echo
for(f in $HFILES){
echo '#include' "^`{basename $f}^"
--- a/tangled/bigverb.h
+++ b/tangled/bigverb.h
@@ -69,4 +69,8 @@
};
#line 117 "bigverb.org"
#endif
+
+#pragma incomplete sk_bigverb
+#pragma incomplete sk_bigverb_delay
+
#endif
--- /dev/null
+++ b/tangled/mkfile
@@ -1,0 +1,31 @@
+<../mkfile.common
+
+LIB=libtangled.a$O
+
+HFILES=\
+ bigverb.h\
+ dcblocker.h\
+ fmpair.h\
+ modalres.h\
+ osc.h\
+ peakeq.h\
+ phasewarp.h\
+ phasor.h\
+ rline.h\
+ scale.h\
+ vardelay.h\
+
+OFILES=\
+ bigverb.$O\
+ dcblocker.$O\
+ fmpair.$O\
+ modalres.$O\
+ osc.$O\
+ peakeq.$O\
+ phasewarp.$O\
+ phasor.$O\
+ rline.$O\
+ scale.$O\
+ vardelay.$O\
+
+</sys/src/cmd/mklib