help-make
[Top][All Lists]
Advanced

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

$(call ...) versus (macro-name ...)


From: Robert P. J. Day
Subject: $(call ...) versus (macro-name ...)
Date: Mon, 13 Feb 2006 06:17:00 -0500 (EST)

  just want to clarify a simple point about calling make "macros".
as i read in the ORA make book, if you define a "macro" that takes
no args, you can invoke it with

  $(macro-name)

if, however, it takes args, you need to use

  $(call macro-name,args ...)

the book is not completely clear on this point but, if the macro takes
no args, is it entirely equivalent to invoke it with "call", even
though that's unnecessary?

rday




reply via email to

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