From: Roland McGrath Date: Tue, 22 Dec 1992 22:31:07 +0000 (+0000) Subject: Formerly commands.c.~13~ X-Git-Tag: 3.70.2~505 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40463f44104ed10960c25472fc76959909483ed2;p=thirdparty%2Fmake.git Formerly commands.c.~13~ --- diff --git a/commands.c b/commands.c index cd57e37f..42b9b9e3 100644 --- a/commands.c +++ b/commands.c @@ -130,6 +130,12 @@ set_file_variables (file) DEFINE_VARIABLE ("%D", 2, DIRONLY (percent)); DEFINE_VARIABLE ("%F", 2, FILEONLY (percent)); + /* Make sure that no dependencies are repeated. This does not + really matter for the purpose of updating targets, but it + might make some names be listed twice for $^ and $?. */ + + uniquize_deps (file->deps); + /* Compute the values for $^ and $? and their F and D versions. */ {