diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-05-12 21:40:21 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-05-12 21:40:21 +0000 |
commit | 42661d845add6384c25d0fd8120e8756b8cff6da (patch) | |
tree | 5cc099da0918fa1093233843609dbc4f255a5b63 /mkdep.pl | |
parent | 1be3da32d24f82d7c8e2109d2ddd405832719ce8 (diff) | |
download | nasm-42661d845add6384c25d0fd8120e8756b8cff6da.tar.gz nasm-42661d845add6384c25d0fd8120e8756b8cff6da.tar.bz2 nasm-42661d845add6384c25d0fd8120e8756b8cff6da.zip |
Add the source file itself to the dependency list.
Diffstat (limited to 'mkdep.pl')
-rwxr-xr-x | mkdep.pl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"; } |