summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox/PDa/extra/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/extra/makefile')
-rw-r--r--apps/plugins/pdbox/PDa/extra/makefile66
1 files changed, 66 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/extra/makefile b/apps/plugins/pdbox/PDa/extra/makefile
new file mode 100644
index 0000000000..270491de63
--- /dev/null
+++ b/apps/plugins/pdbox/PDa/extra/makefile
@@ -0,0 +1,66 @@
+
+VERSION = 0.2
+SOURCE = $(shell ls *.c)
+TARGETS = $(SOURCE:.c=.pd_linux)
+
+EXT= pd_linux
+
+AFLAGS = -g -O2 -I./ -DFIXEDPOINT
+EFLAGS = -shared -Wl,-export-dynamic
+PREFIX = /usr
+
+
+all: $(TARGETS)
+
+clean:
+ -rm $(TARGETS)
+ -rm *.o *~
+
+tar: clean
+ cd ..;tar czvf PDa-externals-$(VERSION).tgz PDa-externals
+
+upload: tar
+ scp ../PDa-externals-$(VERSION).tgz gige@xdv.org:~/www/pda/release
+
+install:
+ install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra
+ cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra
+
+%.$(EXT) : %.o
+ $(CC) -o $@ $(EFLAGS) $+
+
+%.o : %.c
+ $(CC) -c $(AFLAGS) $(CFLAGS) $+
+
+VERSION = 0.2
+SOURCE = $(shell ls *.c)
+TARGETS = $(SOURCE:.c=.pd_linux)
+
+EXT= pd_linux
+
+AFLAGS = -g -O2 -I./ -DFIXEDPOINT
+EFLAGS = -shared -Wl,-export-dynamic
+PREFIX = /usr
+
+
+all: $(TARGETS)
+
+clean:
+ -rm $(TARGETS)
+ -rm *.o *~
+
+tar: clean
+ cd ..;tar czvf PDa-externals-$(VERSION).tgz PDa-externals
+
+upload: tar
+ scp ../PDa-externals-$(VERSION).tgz gige@xdv.org:~/www/pda/release
+
+install:
+ install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra
+ cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra
+
+%.$(EXT) : %.o
+ $(CC) -o $@ $(EFLAGS) $+
+
+%.o : %.c
+ $(CC) -c $(AFLAGS) $(CFLAGS) $+ \ No newline at end of file