summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/PDa/intern/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern/makefile')
-rw-r--r--apps/plugins/pdbox/PDa/intern/makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/PDa/intern/makefile b/apps/plugins/pdbox/PDa/intern/makefile
new file mode 100644
index 0000000..99c508a
--- /dev/null
+++ b/apps/plugins/pdbox/PDa/intern/makefile
@@ -0,0 +1,48 @@
+
+
+SOURCE = $(shell ls *.c)
+TARGETS = $(SOURCE:.c=.pd_linux)
+
+EXT= pd_linux
+
+CFLAGS += -O2 -I../src -DFIXEDPOINT
+EFLAGS = -shared -Wl,-export-dynamic
+
+
+
+all: $(TARGETS)
+
+clean:
+ -rm $(TARGETS)
+ -rm *.o *~
+
+install:
+ install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra
+ cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra
+
+%.$(EXT) : %.o
+ $(CC) -o $@ $(EFLAGS) $+
+
+
+SOURCE = $(shell ls *.c)
+TARGETS = $(SOURCE:.c=.pd_linux)
+
+EXT= pd_linux
+
+CFLAGS += -O2 -I../src -DFIXEDPOINT
+EFLAGS = -shared -Wl,-export-dynamic
+
+
+
+all: $(TARGETS)
+
+clean:
+ -rm $(TARGETS)
+ -rm *.o *~
+
+install:
+ install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra
+ cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra
+
+%.$(EXT) : %.o
+ $(CC) -o $@ $(EFLAGS) $+