[MPlayer-cvslog] r27130 - trunk/Makefile

diego subversion at mplayerhq.hu
Tue Jun 24 10:48:04 CEST 2008


Author: diego
Date: Tue Jun 24 10:48:04 2008
New Revision: 27130

Log:
Do not unconditionally recurse into FFmpeg subdirectories. Instead, just
recurse if any file in the subdirectory changed.


Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	(original)
+++ trunk/Makefile	Tue Jun 24 10:48:04 2008
@@ -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



More information about the MPlayer-cvslog mailing list