From 8afd996789d9cc6ac95f9f28db347bbd94450854 Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Thu, 18 Jan 2007 19:47:10 +0000 Subject: [PATCH] added deps to dependency (uses correct rules now, thanks Alfred for reporting) git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@198 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/ilbc/iLBC_rfc3951/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/plug-in/ilbc/iLBC_rfc3951/Makefile b/core/plug-in/ilbc/iLBC_rfc3951/Makefile index eb97b636..f00d59fa 100644 --- a/core/plug-in/ilbc/iLBC_rfc3951/Makefile +++ b/core/plug-in/ilbc/iLBC_rfc3951/Makefile @@ -19,13 +19,13 @@ clean: .PHONY: deps deps: $(depends) -%.d: %.c Makefile +%.d: %.c %.h Makefile gcc -MM $< $(cflags) > $@ %.o: %.c %.d gcc $(cflags) -c $< -o $@ -fPIC -$(lib_name): $(objs) Makefile +$(lib_name): deps $(objs) Makefile if [ -f $(lib_name) ]; then rm $(RMFLAGS) $(lib_name) ; fi $(AR) $(ARFLAGS) $(lib_name) $(objs) $(RANLIB) $(lib_name)