summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-05 08:02:06 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-05 08:02:06 +0000
commitda6a5a6979b5a36c39046e803be833019bca7ee2 (patch)
treed030c2ec07bc3b264b6cbb53d18faaf9ab6751b9 /Makefile
parent6d14167f28b453a4410701cfeb87f7d9c18f869a (diff)
downloadmpv-da6a5a6979b5a36c39046e803be833019bca7ee2.tar.bz2
mpv-da6a5a6979b5a36c39046e803be833019bca7ee2.tar.xz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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 $@