From 4eafabe1f140005536d0c239ea73955aae3c646f Mon Sep 17 00:00:00 2001 From: Derek Bankieris Date: Wed, 12 Oct 2016 13:55:51 -0500 Subject: [PATCH] Fix support for source file extension .c++ #326 --- libexec/trick/make_makefile_src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/trick/make_makefile_src b/libexec/trick/make_makefile_src index 41592a85..c1a705ff 100755 --- a/libexec/trick/make_makefile_src +++ b/libexec/trick/make_makefile_src @@ -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" ;