aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5045335..76c27ba 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,16 @@
PD = /home/matju/pd_0_38_4/bin/pd -noaudio
#PD = pd
-PDFLAGS = -noaudio -path generics -path specifics
+PDFLAGS = -lib pureunity -noaudio -path generics -path specifics
-test::
+test:: built
$(PD) $(PDFLAGS) main.pd
+
+built: Makefile pureunity.pd_linux
+ # for z in associator commutator distributor invertor; do sed s/inlet/inlet~/ < generics/$$z.pd > generics/$$z~.pd; done
+ echo > built
+
+generic/%~.pd: generic/%.pd
+
+pureunity.pd_linux: pureunity.c Makefile
+ $(CC) -shared -o pureunity.pd_linux pureunity.c
+