changeset 27098:d026baa6a86a

Do not unconditionally recurse into FFmpeg subdirectories. Instead, just recurse if any file in the subdirectory changed.
author diego
date Tue, 24 Jun 2008 08:48:04 +0000
parents b140d2455139
children 1294f728042a
files Makefile
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jun 24 08:21:04 2008 +0000
+++ b/Makefile	Tue Jun 24 08:48:04 2008 +0000
@@ -735,7 +735,13 @@
 
 ALLPARTLIBS = $(foreach part, $(PARTS), $(part)/$(part).a)
 
-$(ALLPARTLIBS): recurse
+libavutil/libavutil.a: libavutil/*.[ch]
+libavcodec/libavcodec.a: libavcodec/*.[ch] libavcodec/*/*.[chS]
+libavformat/libavformat.a: libavformat/*.[ch]
+libpostproc/libpostproc.a: libpostproc/*.[ch]
+libswscale/libswscale.a: libswscale/*.[chS]
+
+$(ALLPARTLIBS):
 	$(MAKE) -C $(@D)
 
 mplayer$(EXESUF): $(MPLAYER_DEPS)
@@ -1051,5 +1057,5 @@
 
 -include $(DEPS)
 
-.PHONY: all doxygen *install* recurse *tools drivers dhahelper*
+.PHONY: all doxygen *install* *tools drivers dhahelper*
 .PHONY: checkheaders *clean dep depend tests