On Sat, Apr 17, 2010 at 3:01 PM, Payal <[email protected]> wrote:

> all :
>    sleep 20
>    @echo ---------- `date +%H%M%S` -----------
>    @echo variable1 = $(DATE1)
>    @echo variable2 = $(DATE2)
>

When a target is run, its entire recipe is parsed for Make variables before
it is run. If you need dynamic variables in the recipe you need to use shell
variables to do it.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to