|
From: | John Graham-Cumming |
Subject: | Re: looking for help with auto creating rules with eval hierarchically |
Date: | Thu, 16 Mar 2006 15:49:42 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
PATTON, BILLY (SBCSI) wrote:
I shortened your foreach statement to $(foreach proj,$(PROJECTS), $(eval $(call bb_template,$(BB_$(proj))))) Doesn't this eliminate one foreach loop?
It does, but what do you intend it to do now. This ends up calling bb_template with the value of each BB_ variable which is a list.
John. -- John Graham-Cumming address@hidden Home: http://www.jgc.org/ Blog: http://www.jgc.org/blog/ POPFile: http://getpopfile.org/ GNU Make Standard Library: http://gmsl.sf.net/ GNU Make Debugger: http://gmd.sf.net/ Fast, Parallel Builds: http://www.electric-cloud.com/ Sign up for my Spam and Anti-spam Newsletter at http://www.jgc.org/
[Prev in Thread] | Current Thread | [Next in Thread] |