help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make funct in recipe sees shell var ..


From: Paul Smith
Subject: Re: make funct in recipe sees shell var ..
Date: Sun, 01 May 2011 19:52:22 -0400

On Sun, 2011-05-01 at 17:23 -0500, address@hidden wrote:
> My work around is to write pip as a make macro in a temp file,
> where this tempfile is itself a target with preqs which
> ensure that pip is defined.  This tempfile is pulled in as a
> make include - this is working but seems a bit complex..

The more typical response is to create the loop using shell constructs
rather than using make's foreach function.  But if what you're doing
works for you that's fine.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]