aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..88a4c64
--- /dev/null
+++ b/makefile
@@ -0,0 +1,23 @@
+# where is your m_pd.h ???
+
+LINUXINCLUDE = -I/usr/local/include
+
+
+
+
+beatpipe: beatpipe.c
+ gcc $(CFLAGS) $(LINUXCFLAGS) $(LINUXINCLUDE) -o beatpipe.o -c beatpipe.c
+ ld -export_dynamic -shared -o beatpipe.pd_linux beatpipe.o -lc -lm
+ strip --strip-unneeded beatpipe.pd_linux
+ rm beatpipe.o
+
+
+install:
+
+ cp help-beatpipe.pd /usr/local/lib/pd/doc/5.reference
+ cp beatpipe.pd_linux /usr/local/lib/pd/externs
+
+
+clean:
+ rm beatpipe.pd_linux
+