diff options
author | Paul Smith <psmith@gnu.org> | 2002-08-01 13:16:57 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-08-01 13:16:57 +0000 |
commit | bccb277dda1a4dcc6729824a7c9d544086f147c3 (patch) | |
tree | 693bb06d69dd6e4829d8d1b1d339a694ff162ad3 /NEWS | |
parent | a56563badd9b3cab2624c35f3a8104a3bb3b5f52 (diff) | |
download | gunmake-bccb277dda1a4dcc6729824a7c9d544086f147c3.tar.gz |
New variables, .VARIABLES and .TARGETS.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -26,7 +26,7 @@ Version 3.80 This syntax is only valid within explicit and static pattern rules: it cannot be used in implicit (suffix or pattern) rules. Edouard G. Parmelan <egp@free.fr> provided a patch implementing this feature; however, I - decided to implemented it myself in a different way. + decided to implemented it in a different way. * A new function is defined: $(quote ...). The argument to this function is the _name_ of a variable. The result of the function is @@ -44,6 +44,11 @@ Version 3.80 list when a makefile is just being read (before any includes) is the name of the current makefile. +* GNU make now supports some simple introspection capability: two new + built-in variables are defined: $(.VARIABLES) and $(.TARGETS). These + expand to a complete list of variables and targets, respectively, + defined by all makefiles at the time the variables are expanded. + * The arguments to $(call ...) functions were being stored in $1, $2, etc. as recursive variables, even though they are fully expanded before assignment. This means that escaped dollar signs ($$ etc.) |