projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1be3da3
)
Add the source file itself to the dependency list.
author
H. Peter Anvin
<hpa@zytor.com>
Sun, 12 May 2002 21:40:21 +0000
(21:40 +0000)
committer
H. Peter Anvin
<hpa@zytor.com>
Sun, 12 May 2002 21:40:21 +0000
(21:40 +0000)
mkdep.pl
patch
|
blob
|
history
diff --git
a/mkdep.pl
b/mkdep.pl
index
8092654
..
69743f6
100755
(executable)
--- a/
mkdep.pl
+++ b/
mkdep.pl
@@
-76,9
+76,9
@@
foreach $dir ( @files ) {
}
foreach $file ( sort(keys(%deps)) ) {
- if ( $file =~ /\.[Cc]$/
&& scalar(@{$deps{$file}})
) {
+ if ( $file =~ /\.[Cc]$/ ) {
$ofile = $file; $ofile =~ s/\.[Cc]$/\./; $ofile .= $obj;
- print $ofile, ': ';
+ print $ofile, ': '
, $file, ' '
;
print join(' ', alldeps($file));
print "\n";
}