comparison Makefile @ 26600:914b1cee2a4f

Remove recurse target. Instead, make FFmpeg parts depend on the phony recurse target so that their directories will be recursed unconditionally.
author diego
date Thu, 01 May 2008 14:02:35 +0000
parents 75dcc46740c4
children 590710d64e84
comparison
equal deleted inserted replaced
26599:ebdaff17896e 26600:914b1cee2a4f
688 stream/realrtsp \ 688 stream/realrtsp \
689 tremor \ 689 tremor \
690 TOOLS \ 690 TOOLS \
691 vidix \ 691 vidix \
692 692
693 all: recurse $(ALL_PRG) 693 all: $(ALL_PRG)
694
695 recurse:
696 for part in $(PARTS); do $(MAKE) -C $$part; done
697 694
698 %.d: %.c 695 %.d: %.c
699 $(MPDEPEND_CMD) > $@ 696 $(MPDEPEND_CMD) > $@
700 697
701 %.d: %.cpp 698 %.d: %.cpp
742 @echo '// untranslated messages from the English master file:' >> help_mp.h 739 @echo '// untranslated messages from the English master file:' >> help_mp.h
743 @help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h 740 @help/help_diff.sh $(HELP_FILE) < help/help_mp-en.h >> help_mp.h
744 endif 741 endif
745 742
746 define RECURSIVE_RULE 743 define RECURSIVE_RULE
747 $(part)/$(part).a: 744 $(part)/$(part).a: recurse
748 $(MAKE) -C $(part) 745 $(MAKE) -C $(part)
749 endef 746 endef
750 747
751 $(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE))) 748 $(foreach part,$(PARTS),$(eval $(RECURSIVE_RULE)))
752 749