aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-05-05 13:57:23 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2008-05-05 13:57:23 +0000
commit08bcd83f4bd31b7b68b27d48f9c3c3078c95b9da (patch)
tree8d0b4d81ef29b6d773abdfb71a1ea31e7489cec6
parent5a70260a872d00f062c296e135a26a907ca76a87 (diff)
add debugging flag to CFLAGS
svn path=/trunk/externals/iem/iemguts/; revision=9763
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index dc816c0..a3a58c7 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -62,7 +62,7 @@ TARGETS=$(SOURCES:.c=.$(EXTENSION))
pd_linux: $(TARGETS)
-LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer -fPIC \
+LINUXCFLAGS = -DPD -g -O2 -funroll-loops -fomit-frame-pointer -fPIC \
-Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch
@@ -70,9 +70,11 @@ LINUXLDFLAGS = -export_dynamic -shared -lc -lm
LINUXINCLUDE = -I$(PDSRCDIR)
+STRIP?=strip
+
%.pd_linux: %.c
$(CC) $(LINUXLDFLAGS) $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.pd_linux $*.c
- strip --strip-unneeded $*.pd_linux
+ $(STRIP) --strip-unneeded $*.pd_linux