Fix support for source file extension .c++ #326

This commit is contained in:
Derek Bankieris 2016-10-12 13:55:51 -05:00
parent 23af89681e
commit 4eafabe1f1

View File

@ -308,7 +308,7 @@ foreach my $ext ( sort keys %object_files_by_type ) {
$print_ext = $ext ;
}
print MAKEFILE "MODEL_${print_ext}_OBJ =" ;
foreach $f ( @{$object_files_by_type{$print_ext}} ) {
foreach $f ( @{$object_files_by_type{$ext}} ) {
print MAKEFILE " \\\n \$($f)" ;
}
print MAKEFILE "\n\n" ;