[Top][All Lists]

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

Re: variables query

From: Stephan Beal
Subject: Re: variables query
Date: Tue, 20 Apr 2010 17:54:32 +0200

On Sat, Apr 17, 2010 at 3:01 PM, Payal <address@hidden> wrote:
all :
   sleep 20
  address@hidden ---------- `date +%H%M%S` -----------
  address@hidden variable1 = $(DATE1)
  address@hidden 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

reply via email to

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