summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-10-10 08:08:58 +0000
committerRoland McGrath <roland@redhat.com>1994-10-10 08:08:58 +0000
commite622fcf22ee0b9622fe880dbd16e53adcc79f044 (patch)
tree404d3ac1e40bc3acf3977925a882f97f9f848c00 /variable.c
parent1766b7fa591d204708a36b7ca52a4c9cb62ded0b (diff)
downloadgunmake-e622fcf22ee0b9622fe880dbd16e53adcc79f044.tar.gz
(define_automatic_variables): Define +D and +F.
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/variable.c b/variable.c
index 0aacc15..319826f 100644
--- a/variable.c
+++ b/variable.c
@@ -387,12 +387,14 @@ define_automatic_variables ()
define_variable ("<D", 2, "$(patsubst %/,%,$(dir $<))", o_automatic, 1);
define_variable ("?D", 2, "$(patsubst %/,%,$(dir $?))", o_automatic, 1);
define_variable ("^D", 2, "$(patsubst %/,%,$(dir $^))", o_automatic, 1);
+ define_variable ("+D", 2, "$(patsubst %/,%,$(dir $+))", o_automatic, 1);
define_variable ("@F", 2, "$(notdir $@)", o_automatic, 1);
define_variable ("%F", 2, "$(notdir $%)", o_automatic, 1);
define_variable ("*F", 2, "$(notdir $*)", o_automatic, 1);
define_variable ("<F", 2, "$(notdir $<)", o_automatic, 1);
define_variable ("?F", 2, "$(notdir $?)", o_automatic, 1);
define_variable ("^F", 2, "$(notdir $^)", o_automatic, 1);
+ define_variable ("+F", 2, "$(notdir $+)", o_automatic, 1);
}
int export_all_variables;