From da6a5a6979b5a36c39046e803be833019bca7ee2 Mon Sep 17 00:00:00 2001 From: diego Date: Sat, 5 Jul 2008 08:02:06 +0000 Subject: Declare FFmpeg dependencies in a more elegant way using the PARTS variable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27203 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b8b92156f0..0c228a5070 100644 --- a/Makefile +++ b/Makefile @@ -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 $@ -- cgit v1.2.3