summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmkdep.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkdep.pl b/mkdep.pl
index 8092654..69743f6 100755
--- 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";
}