diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/intern/makefile')
-rw-r--r-- | apps/plugins/pdbox/PDa/intern/makefile | 48 |
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 0000000000..99c508ab78 --- /dev/null +++ b/apps/plugins/pdbox/PDa/intern/makefile | |||
@@ -0,0 +1,48 @@ | |||
1 | |||
2 | |||
3 | SOURCE = $(shell ls *.c) | ||
4 | TARGETS = $(SOURCE:.c=.pd_linux) | ||
5 | |||
6 | EXT= pd_linux | ||
7 | |||
8 | CFLAGS += -O2 -I../src -DFIXEDPOINT | ||
9 | EFLAGS = -shared -Wl,-export-dynamic | ||
10 | |||
11 | |||
12 | |||
13 | all: $(TARGETS) | ||
14 | |||
15 | clean: | ||
16 | -rm $(TARGETS) | ||
17 | -rm *.o *~ | ||
18 | |||
19 | install: | ||
20 | install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra | ||
21 | cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra | ||
22 | |||
23 | %.$(EXT) : %.o | ||
24 | $(CC) -o $@ $(EFLAGS) $+ | ||
25 | |||
26 | |||
27 | SOURCE = $(shell ls *.c) | ||
28 | TARGETS = $(SOURCE:.c=.pd_linux) | ||
29 | |||
30 | EXT= pd_linux | ||
31 | |||
32 | CFLAGS += -O2 -I../src -DFIXEDPOINT | ||
33 | EFLAGS = -shared -Wl,-export-dynamic | ||
34 | |||
35 | |||
36 | |||
37 | all: $(TARGETS) | ||
38 | |||
39 | clean: | ||
40 | -rm $(TARGETS) | ||
41 | -rm *.o *~ | ||
42 | |||
43 | install: | ||
44 | install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra | ||
45 | cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra | ||
46 | |||
47 | %.$(EXT) : %.o | ||
48 | $(CC) -o $@ $(EFLAGS) $+ | ||