|Subject:||how to indirect access a variable|
|Date:||Mon, 27 Oct 2003 23:09:41 +0100|
If in my make file:
blocks := a b
a_property := 0 1 2 3
b_property := 2 3 8 9
How can I get a list of property in the first column for the all the blocks?
I try to use the foreach as below:
block_properties := $(foreach block, $(blocks), $(block)_property)
properties_of_second_column := $(foreach property, $(block_properties), $(firstword $($property)))
It doesn’t work. Where is the problem?
|[Prev in Thread]||Current Thread||[Next in Thread]|