summaryrefslogtreecommitdiff
path: root/make/calcdep.pl
diff options
context:
space:
mode:
Diffstat (limited to 'make/calcdep.pl')
-rwxr-xr-xmake/calcdep.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/calcdep.pl b/make/calcdep.pl
index d8b4e292b..261b6ec18 100755
--- a/make/calcdep.pl
+++ b/make/calcdep.pl
@@ -51,7 +51,7 @@ sub dep_cpp {
my($file, $dfile) = @_;
gendep $file;
my($path,$base) = $file =~ m#^((?:.*/)?)([^/]+)\.cpp# or die "Bad file $file";
- my $ext = $path eq 'modules/' ? '.so' : '.o';
+ my $ext = $path eq 'modules/' || $path eq 'commands/' ? '.so' : '.o';
my $out = "$path$base$ext";
$dfile = "$baseout/$path.$base.d" unless defined $dfile;