I'm not sure if this is a typo in your post, but $($property) should be $(property).
Otherwise, what are you getting and what are you expecting? HTH, Noel > Yanghui Bian wrote: > > 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 -- NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited. _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
