From b8a6c5ce0d453ce22e31d12265978931e52c1957 Mon Sep 17 00:00:00 2001 From: Yuichiro MASUI Date: Fri, 4 Jan 2013 23:43:33 +0900 Subject: Changed objccflags to objcflags Added cxxflags, objcflags, asmflags to mrbgem.rake Support .cxx and .cc as C++ source in mrbgems --- tasks/rules.rake | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tasks/rules.rake') diff --git a/tasks/rules.rake b/tasks/rules.rake index f53f3bccd..7d988cde3 100644 --- a/tasks/rules.rake +++ b/tasks/rules.rake @@ -12,6 +12,8 @@ MRuby.each_target do |t| { '.c' => proc { |t| compile_c t.name, t.prerequisites.first }, '.cpp' => proc { |t| compile_cxx t.name, t.prerequisites.first }, + '.cxx' => proc { |t| compile_cxx t.name, t.prerequisites.first }, + '.cc' => proc { |t| compile_cxx t.name, t.prerequisites.first }, '.m' => proc { |t| compile_objc t.name, t.prerequisites.first }, '.S' => proc { |t| compile_asm t.name, t.prerequisites.first } }.each do |ext, compile| -- cgit v1.2.3