[ From GNUMake documenet ]
We say that expansion is deferred if
expansion is not performed immediately. Expansion of a deferred construct is not performed
until either the construct appears later in an immediate context, or until the second phase.
Variable Assignment
Variable definitions are parsed as follows:
immediate = deferred
immediate ?= deferred
immediate := immediate
immediate += deferred or immediate
define immediate
deferred
endef
define immediate =
deferred
endef
define immediate ?=
deferred
endef
define immediate :=
immediate
endef
define immediate +=
deferred or immediate
endef
For the append operator, ‘+=’, the right-hand side is considered immediate if the variable
was previously set as a simple variable (‘:=’), and deferred otherwise.
'Tools' 카테고리의 다른 글
[gnumake] Tips and command line variable. (0) | 2015.10.19 |
---|---|
[Gnumake] Organizing my knowledge about 'gnumake' (0) | 2013.07.11 |
[ Emacs ] key-bindings.... (my environment) (0) | 2012.03.23 |
Interesting rule of GNU make. (0) | 2012.03.23 |
[Tools] Customizing skip list of GNU Global (including regular expression) (0) | 2011.07.06 |