mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
Add the source file itself to the dependency list.
This commit is contained in:
parent
1be3da32d2
commit
42661d845a
4
mkdep.pl
4
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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user