diff options
author | Jamie Bullock <postlude@users.sourceforge.net> | 2009-03-07 17:08:44 +0000 |
---|---|---|
committer | Jamie Bullock <postlude@users.sourceforge.net> | 2009-03-07 17:08:44 +0000 |
commit | 4c3a63073a662f4fe1e3981460e445eab25c6047 (patch) | |
tree | b7f7485c2596a796088c8b9814a07b8c05457be4 /dssi/makefile | |
parent | cc37045b76745dad7acb244dade60dcb46bc3dfc (diff) |
- Committed patch from moumar on Pd list 'add-more-stability.patch' !
- Fixed bug where setting LADSPA control ports for DSSI plugins crashed Pd
- Fixed bug where sending notes on channel 1 sends to all channels
- Reformatted code using ts=8 sts=4 sw=4
svn path=/trunk/externals/postlude/; revision=10840
Diffstat (limited to 'dssi/makefile')
-rwxr-xr-x | dssi/makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/dssi/makefile b/dssi/makefile index 498eb5f..e87fe73 100755 --- a/dssi/makefile +++ b/dssi/makefile @@ -4,8 +4,9 @@ CSYM=dssi~ LIBDIR=/usr/local/lib PDDIR=$(LIBDIR)/pd INSTALLPATH=$(PDDIR)/extra/ +DEBUG=0 -current: pd_darwin +current: pd_linux # ----------------------- Linux ----------------------- @@ -14,14 +15,14 @@ pd_linux: src/$(NAME).pd_linux .SUFFIXES: .pd_linux -LINUXCFLAGS = -DPD -O3 -fPIC -funroll-loops -fomit-frame-pointer \ +#LINUXCFLAGS = -DPD -O3 -fPIC -funroll-loops -fomit-frame-pointer \ -Wall -W -Wshadow -Wstrict-prototypes -Werror \ -Wno-unused -Wno-parentheses -Wno-switch # Debug -#LINUXCFLAGS = -ggdb -g -DPD -O0 -fPIC -funroll-loops -fomit-frame-pointer \ +LINUXCFLAGS = -ggdb -g -DPD -O0 -fPIC -funroll-loops -fomit-frame-pointer \ -Wall -W -Wshadow -Wstrict-prototypes -Werror \ - -Wno-unused -Wno-parentheses -Wno-switch + -Wno-unused -Wno-parentheses -Wno-switch -DDEBUG=$(DEBUG) LINUXINCLUDE = -I/usr/include -I./include @@ -29,8 +30,9 @@ LINUXINCLUDE = -I/usr/include -I./include $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/jsearch.c $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/jload.c $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/dssi~.c - ld -export_dynamic -shared -o $(NAME).pd_linux dssi~.o jload.o jsearch.o -lc -lm -llo + gcc -export_dynamic -shared -o $(NAME).pd_linux dssi~.o jload.o jsearch.o -lc -lm -llo # strip --strip-unneeded $(NAME).pd_linux + cp $(NAME).pd_linux ~/pd-externals/ rm -f *.o # ----------------------- Mac OSX ----------------------- @@ -40,7 +42,7 @@ pd_darwin: src/$(NAME).pd_darwin .SUFFIXES: .pd_darwin DARWINCFLAGS = -DPD -O3 -Wall -W -Wshadow -Wstrict-prototypes \ - -Wno-unused -Wno-parentheses -Wno-switch -L/usr/local/lib/ + -Wno-unused -Wno-parentheses -Wno-switch -L/usr/local/lib/ -DDEBUG=$(DEBUG) DARWININCLUDE = -I ./ -I ../src -I/usr/local/include/ -I ./include -I/usr/local/include/dssi/ @@ -57,7 +59,7 @@ clean: rm -f *.o *.pd_* so_locations install: - cp dssi~.pd_linux $(INSTALLPATH) + cp dssi~.pd_* $(INSTALLPATH) install -d $(PDDIR)/doc/5.reference/dssi/ install -m 644 doc/*-help* $(PDDIR)/doc/5.reference/ install -m 644 doc/output~.pd $(PDDIR)/doc/5.reference/dssi/ |