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
This commit is contained in:
diego 2008-07-05 08:02:06 +00:00
parent 6d14167f28
commit da6a5a6979
1 changed files with 2 additions and 2 deletions

View File

@ -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 $@