[MPlayer-cvslog] r27203 - trunk/Makefile
diego
subversion at mplayerhq.hu
Sat Jul 5 10:02:06 CEST 2008
Author: diego
Date: Sat Jul 5 10:02:06 2008
New Revision: 27203
Log:
Declare FFmpeg dependencies in a more elegant way using the PARTS variable.
Modified:
trunk/Makefile
Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Sat Jul 5 10:02:06 2008
@@ -734,8 +734,8 @@ dep depend: $(DEPS)
for part in $(PARTS); do $(MAKE) -C $$part depend; done
ALLPARTLIBS = $(foreach part, $(PARTS), $(part)/$(part).a)
-
-$(ALLPARTLIBS): libavutil/*.[ch] libavcodec/*.[ch] libavcodec/*/*.[chS] libavformat/*.[ch] libpostproc/*.[ch] libswscale/*.[chS] libvo/fastmemcpy.h config.h
+FFMPEGFILES = $(foreach part, $(PARTS), $(part)/*.[chS] libavcodec/*/*.[chS])
+$(ALLPARTLIBS): $(FFMPEGFILES) libvo/fastmemcpy.h config.h
$(MAKE) -C $(@D)
touch $@
More information about the MPlayer-cvslog
mailing list