On Sun, 2011-05-01 at 08:57 -0500, [email protected] wrote: > Assume I need to use the make foreach function in the recipe, and > that this function must somehow use the shell var pip to define > it's second arg.
What you are asking for is not possible, as described. foreach runs inside make. The variable exists in the shell. Make will completely evaluate the recipe then give it to the shell to run. This operation is strictly one way, and serial. There's no "two-way communication" where the shell can give back information to make that it can use when it does more evaluation later. -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
