From ef15210ef1ec41cf75f1bd0d77113a7c1347bb86 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 24 Jun 2008 08:48:04 +0000 Subject: [PATCH] Do not unconditionally recurse into FFmpeg subdirectories. Instead, just recurse if any file in the subdirectory changed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27130 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 76eec75f6e..6b5470be5d 100644 --- a/Makefile +++ b/Makefile @@ -735,7 +735,13 @@ dep depend: $(DEPS) 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 @@ dhahelperwinclean: -include $(DEPS) -.PHONY: all doxygen *install* recurse *tools drivers dhahelper* +.PHONY: all doxygen *install* *tools drivers dhahelper* .PHONY: checkheaders *clean dep depend tests