From 127d5c8d43da21872f736a07226f5c9f4573b6db Mon Sep 17 00:00:00 2001
From: Zdenek Kabelac <kabi@informatics.muni.cz>
Date: Thu, 13 Mar 2003 15:36:53 +0000
Subject: [PATCH] * don't rebuild ffmpeg when libs were not modified

Originally committed as revision 1681 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 8d77aaa1b58..32e7919fadf 100644
--- a/Makefile
+++ b/Makefile
@@ -111,7 +111,8 @@ endif
 	$(CC) -MM $(CFLAGS) $^ 1>.depend
 
 .libs: lib
-	touch .libs
+	@test -f .libs || touch .libs
+	@for i in $(DEP_LIBS) ; do if test $$i -nt .libs ; then touch .libs; fi ; done
 
 clean: $(CLEANVHOOK)
 	$(MAKE) -C libavcodec clean
-- 
GitLab