aboutsummaryrefslogtreecommitdiff
path: root/dssi/makefile
diff options
context:
space:
mode:
authorJamie Bullock <postlude@users.sourceforge.net>2006-03-11 20:32:51 +0000
committerJamie Bullock <postlude@users.sourceforge.net>2006-03-11 20:32:51 +0000
commit403fe6449d4091b7ef0601e31545dfb5f599b851 (patch)
tree1a92f0c811038a8be27e1c77ee2ea7eab44cd703 /dssi/makefile
parent8ab597d821d8937f8035e062ac660bd03519f6b0 (diff)
Added jutils for improved search and load facilities
svn path=/trunk/externals/postlude/; revision=4692
Diffstat (limited to 'dssi/makefile')
-rwxr-xr-xdssi/makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/dssi/makefile b/dssi/makefile
index 55d5cf3..70a567c 100755
--- a/dssi/makefile
+++ b/dssi/makefile
@@ -14,16 +14,23 @@ pd_linux: src/$(NAME).pd_linux
.SUFFIXES: .pd_linux
-LINUXCFLAGS = -DPD -O2 -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 \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch
LINUXINCLUDE = -I/usr/include -I./include
.c.pd_linux:
- $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c $*.c
- ld -export_dynamic -shared -o $(NAME).pd_linux $(NAME).o -lc -lm -llo
- strip --strip-unneeded $(NAME).pd_linux
+ $(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
+# strip --strip-unneeded $(NAME).pd_linux
rm -f *.o
# ----------------------- Mac OSX -----------------------