Mercurial > mplayer.hg
diff Makefile @ 27171:5b24c3520255
Declare FFmpeg dependencies in a more elegant way using the PARTS variable.
author | diego |
---|---|
date | Sat, 05 Jul 2008 08:02:06 +0000 |
parents | d9b61fc3c5b7 |
children | fa689f1b187b |
line wrap: on
line diff
--- a/Makefile Fri Jul 04 22:09:55 2008 +0000 +++ b/Makefile Sat Jul 05 08:02:06 2008 +0000 @@ -734,8 +734,8 @@ 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 $@