aboutsummaryrefslogtreecommitdiff
path: root/desiredata/extra/pureunity/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'desiredata/extra/pureunity/Makefile')
-rw-r--r--desiredata/extra/pureunity/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/desiredata/extra/pureunity/Makefile b/desiredata/extra/pureunity/Makefile
new file mode 100644
index 00000000..a9e9ec88
--- /dev/null
+++ b/desiredata/extra/pureunity/Makefile
@@ -0,0 +1,19 @@
+# if you don't want the standard pd, set the PD-variable before doing "make"
+# e.g. "PD=/home/matju/pd_devel_0_39_und/bin/pd make"
+ PD ?= pd
+#PD ?= desire
+PDFLAGS = -lib pureunity -noaudio
+PDFLAGS += -lib gridflow
+CFLAGS = -Wall
+
+test:: built
+ $(PD) $(PDFLAGS) main.pd
+
+built: Makefile pureunity.pd_linux
+ echo > built
+
+generic/%~.pd: generic/%.pd
+
+pureunity.pd_linux: pureunity.c Makefile
+ $(CC) $(CFLAGS) -shared -o pureunity.pd_linux pureunity.c
+