help-make
[Top][All Lists]
Advanced

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

Re: $(foo) vs $(call foo)


From: Paul Smith
Subject: Re: $(foo) vs $(call foo)
Date: Wed, 27 Jun 2007 08:59:16 -0400

On Wed, 2007-06-27 at 13:19 +0200, Stephan Beal wrote:
> The question is, then: is there a real difference between 
> $(my-macro) and $(call my-macro) if my-macro is not defined to use 
> positional arguments (i.e. $(1) ... $(N))?

No, there's no effective difference.  There is a difference as to how
much work make does internally but it's probably pretty negligible from
a performance standpoint.

-- 
-------------------------------------------------------------------------------
 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]