fix bug: WAV file playback does not resume (FS#11077)
[kugel-rb.git] / apps / plugins / pdbox / PDa / extra / makefile
blob4bd6ed096054b8177013167667c327939ef5449f
2 VERSION = 0.2
3 SOURCE = $(shell ls *.c)
4 TARGETS = $(SOURCE:.c=.pd_linux)
6 EXT= pd_linux
8 AFLAGS = -g -O2 -I./ -DFIXEDPOINT
9 EFLAGS = -shared -Wl,-export-dynamic
10 PREFIX = /usr
13 all: $(TARGETS)
15 clean:
16 -rm $(TARGETS)
17 -rm *.o *~
19 tar: clean
20 cd ..;tar czvf PDa-externals-$(VERSION).tgz PDa-externals
22 upload: tar
23 scp ../PDa-externals-$(VERSION).tgz gige@xdv.org:~/www/pda/release
25 install:
26 install -d $(DESTDIR)/$(PREFIX)/lib/pd/extra
27 cp $(TARGETS) $(DESTDIR)/$(PREFIX)/lib/pd/extra
29 %.$(EXT) : %.o
30 $(CC) -o $@ $(EFLAGS) $+
32 %.o : %.c
33 $(CC) -c $(AFLAGS) $(CFLAGS) $+