From 4bec1a9da20e5fd711e6ffa19df668a2fe38784c Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Wed, 26 Sep 2007 13:34:20 +0000 Subject: [PATCH] - re-introduced correct CFLAGS (broken since last svn release) git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@460 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/ilbc/iLBC_rfc3951/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/plug-in/ilbc/iLBC_rfc3951/Makefile b/core/plug-in/ilbc/iLBC_rfc3951/Makefile index cdd3a01d..431f725d 100644 --- a/core/plug-in/ilbc/iLBC_rfc3951/Makefile +++ b/core/plug-in/ilbc/iLBC_rfc3951/Makefile @@ -8,8 +8,6 @@ hrds = $(wildcard *.h) objs = $(srcs:.c=.o) depends = $(srcs:.c=.d) -#cflags ?= $(C_FLAGS) - AR = ar RANLIB = ranlib @@ -24,10 +22,10 @@ clean: deps: $(depends) %.d: %.c %.h Makefile - $(CC) -MM $< $(CFLAGS) > $@ + $(CC) -MM $< $(CFLAGS) $(CPPFLAGS) > $@ %.o: %.c %.d - $(CC) $(CFLAGS) -c $< -o $@ -fPIC + $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ $(lib_name): deps $(objs) Makefile if [ -f $(lib_name) ]; then rm $(RMFLAGS) $(lib_name) ; fi