diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/extra/makefile')
-rw-r--r-- | apps/plugins/pdbox/PDa/extra/makefile | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/apps/plugins/pdbox/PDa/extra/makefile b/apps/plugins/pdbox/PDa/extra/makefile index 270491de63..4bd6ed0960 100644 --- a/apps/plugins/pdbox/PDa/extra/makefile +++ b/apps/plugins/pdbox/PDa/extra/makefile | |||
@@ -32,35 +32,3 @@ install: | |||
32 | %.o : %.c | 32 | %.o : %.c |
33 | $(CC) -c $(AFLAGS) $(CFLAGS) $+ | 33 | $(CC) -c $(AFLAGS) $(CFLAGS) $+ |
34 | 34 | ||
35 | VERSION = 0.2 | ||
36 | SOURCE = $(shell ls *.c) | ||
37 | TARGETS = $(SOURCE:.c=.pd_linux) | ||
38 | |||
39 | EXT= pd_linux | ||
40 | |||
41 | AFLAGS = -g -O2 -I./ -DFIXEDPOINT | ||
42 | EFLAGS = -shared -Wl,-export-dynamic | ||
43 | PREFIX = /usr | ||
44 | |||
45 | |||
46 | all: $(TARGETS) | ||
47 | |||
48 | clean: | ||
49 | -rm $(TARGETS) | ||
50 | -rm *.o *~ | ||
51 | |||
52 | tar: clean | ||
53 | cd ..;tar czvf PDa-externals-$(VERSION).tgz PDa-externals | ||
54 | |||
55 | upload: tar | ||
56 | scp ../PDa-externals-$(VERSION).tgz gige@xdv.org:~/www/pda/release | ||
57 | |||
58 | install: | ||
59 | install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra | ||
60 | cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra | ||
61 | |||
62 | %.$(EXT) : %.o | ||
63 | $(CC) -o $@ $(EFLAGS) $+ | ||
64 | |||
65 | %.o : %.c | ||
66 | $(CC) -c $(AFLAGS) $(CFLAGS) $+ \ No newline at end of file | ||