summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-20 23:16:05 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-20 23:16:05 +0900
commitee274ba30f3b697e0855fe7c093136f3c8b80f6f (patch)
tree2e521f27741d48623a723da544378f549459a948 /Rakefile
parent929328ad3bfc3f7b0e5d01b707098a93038f3413 (diff)
parent9ac23ae214b665f81da4a5d3c00c6d17cdb3961a (diff)
downloadmruby-ee274ba30f3b697e0855fe7c093136f3c8b80f6f.tar.gz
mruby-ee274ba30f3b697e0855fe7c093136f3c8b80f6f.zip
Merge pull request #2299 from take-cheeze/cc_ext
Support extension '.cc' in source code listing.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index ad0e258b4..681c20d05 100644
--- a/Rakefile
+++ b/Rakefile
@@ -56,7 +56,7 @@ MRuby.each_target do |target|
gem.bins.each do |bin|
exec = exefile("#{build_dir}/bin/#{bin}")
- objs = Dir.glob("#{current_dir}/tools/#{bin}/*.{c,cpp,cxx}").map { |f| objfile(f.pathmap("#{current_build_dir}/tools/#{bin}/%n")) }
+ objs = Dir.glob("#{current_dir}/tools/#{bin}/*.{c,cpp,cxx,cc}").map { |f| objfile(f.pathmap("#{current_build_dir}/tools/#{bin}/%n")) }
file exec => objs + [libfile("#{build_dir}/lib/libmruby")] do |t|
gem_flags = gems.map { |g| g.linker.flags }