comparison Makefile @ 29155:3f4843f064ad

cosmetics: Rename PARTS variable to FFMPEGPARTS.
author diego
date Sun, 19 Apr 2009 15:54:16 +0000
parents d26f4b307224
children 15c34dd9583f
comparison
equal deleted inserted replaced
29154:d26f4b307224 29155:3f4843f064ad
782 TOOLS \ 782 TOOLS \
783 vidix \ 783 vidix \
784 784
785 ALLHEADERS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.h)) 785 ALLHEADERS = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.h))
786 786
787 PARTS = libavcodec \ 787 FFMPEGPARTS = libavcodec \
788 libavformat \ 788 libavformat \
789 libavutil \ 789 libavutil \
790 libpostproc \ 790 libpostproc \
791 libswscale \ 791 libswscale \
792 792
793 FFMPEGLIBS = $(foreach part, $(PARTS), $(part)/$(part).a) 793 FFMPEGLIBS = $(foreach part, $(FFMPEGPARTS), $(part)/$(part).a)
794 FFMPEGFILES = $(foreach part, $(PARTS), $(part)/*.[chS] $(part)/*/*.[chS]) 794 FFMPEGFILES = $(foreach part, $(FFMPEGPARTS), $(part)/*.[chS] $(part)/*/*.[chS])
795 795
796 796
797 797
798 ###### generic rules ####### 798 ###### generic rules #######
799 799
818 $(WINDRES) -I. $< $@ 818 $(WINDRES) -I. $< $@
819 819
820 checkheaders: $(ALLHEADERS:.h=.ho) 820 checkheaders: $(ALLHEADERS:.h=.ho)
821 821
822 dep depend: $(DEPS) 822 dep depend: $(DEPS)
823 for part in $(PARTS); do $(MAKE) -C $$part depend; done 823 for part in $(FFMPEGPARTS); do $(MAKE) -C $$part depend; done
824 824
825 $(FFMPEGLIBS): $(FFMPEGFILES) config.h 825 $(FFMPEGLIBS): $(FFMPEGFILES) config.h
826 $(MAKE) -C $(@D) 826 $(MAKE) -C $(@D)
827 touch $@ 827 touch $@
828 828