summaryrefslogtreecommitdiffhomepage
path: root/tasks/rules.rake
diff options
context:
space:
mode:
authorYuichiro MASUI <[email protected]>2013-01-04 23:43:33 +0900
committerYuichiro MASUI <[email protected]>2013-01-04 23:43:33 +0900
commitb8a6c5ce0d453ce22e31d12265978931e52c1957 (patch)
tree6fedffc4719294243c96798040ba56ff1bd4dfb5 /tasks/rules.rake
parentdb2fed84d1414331b95f30d84912295a276c4837 (diff)
downloadmruby-b8a6c5ce0d453ce22e31d12265978931e52c1957.tar.gz
mruby-b8a6c5ce0d453ce22e31d12265978931e52c1957.zip
Changed objccflags to objcflags
Added cxxflags, objcflags, asmflags to mrbgem.rake Support .cxx and .cc as C++ source in mrbgems
Diffstat (limited to 'tasks/rules.rake')
-rw-r--r--tasks/rules.rake2
1 files changed, 2 insertions, 0 deletions
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|