From 08bcd83f4bd31b7b68b27d48f9c3c3078c95b9da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 5 May 2008 13:57:23 +0000 Subject: add debugging flag to CFLAGS svn path=/trunk/externals/iem/iemguts/; revision=9763 --- src/Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.1