summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-24 08:48:04 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-06-24 08:48:04 +0000
commitef15210ef1ec41cf75f1bd0d77113a7c1347bb86 (patch)
tree79d79a16deb7329fd65dd8fbacbc34cd342348bb /Makefile
parent9cb9c5df70b65daf44545a379925758711dc68d6 (diff)
downloadmpv-ef15210ef1ec41cf75f1bd0d77113a7c1347bb86.tar.bz2
mpv-ef15210ef1ec41cf75f1bd0d77113a7c1347bb86.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files 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