diff options
Diffstat (limited to 'make')
-rwxr-xr-x | make/calcdep.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl index e042c49d8..d9242b098 100755 --- a/make/calcdep.pl +++ b/make/calcdep.pl @@ -147,7 +147,7 @@ sub dep_dir($) { my($dir) = @_; my @ofiles; opendir DIR, $dir; - for my $file (readdir DIR) { + for my $file (sort readdir DIR) { next unless $file =~ /(.*)\.cpp$/; my $ofile = find_output "$dir/$file"; dep_cpp "$dir/$file", $ofile; |