From bccb277dda1a4dcc6729824a7c9d544086f147c3 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Thu, 1 Aug 2002 13:16:57 +0000 Subject: New variables, .VARIABLES and .TARGETS. --- NEWS | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 724458b..bd4af15 100644 --- a/NEWS +++ b/NEWS @@ -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 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.) -- cgit v1.2.3