From f990fae81287cfe54cc7ac8fb63cc022e32f9fd3 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 27 Feb 2013 04:12:11 +0000 Subject: [PATCH] Add dependency on destination directory. --- util/mk1mf.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mk1mf.pl b/util/mk1mf.pl index ad504de0a9..d2013bb000 100755 --- a/util/mk1mf.pl +++ b/util/mk1mf.pl @@ -1312,7 +1312,7 @@ sub do_copy_rule if ($n =~ /bss_file/) { $pp=".c"; } else { $pp=$p; } - $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp\n\t\$(CP) \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n"; + $ret.="$to${o}$n$pp: \$(SRC_D)$o$_$pp $to\n\t\$(CP) \"\$(SRC_D)$o$_$pp\" \"$to${o}$n$pp\"\n\n"; } return($ret); } -- 2.25.1