Lines Matching full:foreach
238 * Foreach Function:: Repeat some text with controlled variation.
5110 * Foreach Function:: Repeat some text with controlled variation.
5536 File: make.info, Node: Conditional Functions, Next: Foreach Function, Prev: File Name Functions, Up: Functions
5589 File: make.info, Node: Foreach Function, Next: Call Function, Prev: Conditional Functions, Up: Functions
5591 8.5 The `foreach' Function
5594 The `foreach' function is very different from other functions. It
5597 in the shell `sh' and the `foreach' command in the C-shell `csh'.
5599 The syntax of the `foreach' function is:
5601 $(foreach VAR,LIST,TEXT)
5613 `foreach'.
5619 files := $(foreach dir,$(dirs),$(wildcard $(dir)/*))
5636 files := $(foreach dir,$(dirs),$(find_files))
5640 actual function call to be reexpanded under the control of `foreach'; a
5644 The `foreach' function has no permanent effect on the variable VAR;
5645 its value and flavor after the `foreach' function call are the same as
5647 in effect only temporarily, during the execution of `foreach'. The
5649 `foreach'. If VAR was undefined before the `foreach' function call, it
5657 files := $(foreach Esta escrito en espanol!,b c ch,$(find_files))
5664 File: make.info, Node: Call Function, Next: Value Function, Prev: Foreach Function, Up: Functions
5699 rules, like `foreach' or `if', may not work as you expect.
5725 map = $(foreach a,$(2),$(call $(1),$(a)))
5832 $(foreach prog,$(PROGRAMS),$(eval $(call PROGRAM_template,$(prog))))