help-make
[Top][All Lists]
Advanced

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

Re: include files with :=


From: Paul D. Smith
Subject: Re: include files with :=
Date: Wed, 15 Dec 2004 11:03:57 -0500

%% "Dill, John" <address@hidden> writes:

  dj> I am still trying to track down where exactly my lag time is
  dj> coming from, and it doesn't appear to be from using the include
  dj> directive by itself.  My question is how makefile evaluates
  dj> variables that are defined using ':=' with respect to include
  dj> files.  If I have a file include_me.mk which contains:

  dj> my_var:=$(shell script)

  dj> and I have included this file several times (indirectly through my
  dj> file's dependent include files).  Does make re-evaluate this
  dj> variable assignment each time 'include include_me.mk' appears?

Of course, just like any other variable assignment.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "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]