changeset 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 4c07765b1191
children fa689f1b187b
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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 $@