summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-03-13 15:36:53 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-03-13 15:36:53 +0000
commit127d5c8d43da21872f736a07226f5c9f4573b6db (patch)
treeca3cc1bdc08d491522d91816151d272b8f8be67e /Makefile
parentd1db8623784d3ed6385133aa6f34ab5e24d82212 (diff)
* don't rebuild ffmpeg when libs were not modified
Originally committed as revision 1681 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d77aaa1b5..32e7919fad 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