Hello,

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?

 

Thanks you.

YBI

 

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to