diff options
| author | take_cheeze <[email protected]> | 2015-04-06 15:20:13 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2015-06-01 21:53:55 +0900 |
| commit | 6460ef77bcceb17d80d1b46a07b28fada19737c8 (patch) | |
| tree | 802d327b0efbe1ed9ed1a1109657e23705b4f89f /tools/mrbc/mrbc.rake | |
| parent | 214bc3c95a9e01a7be4d76e94d80be9d9d59bd4b (diff) | |
| download | mruby-6460ef77bcceb17d80d1b46a07b28fada19737c8.tar.gz mruby-6460ef77bcceb17d80d1b46a07b28fada19737c8.zip | |
Compile mruby compiler as mrbgem.
Compiler codes is moved to "mruby-compiler".
Executable `mrbc` is moved to "mruby-bin-mrbc".
Diffstat (limited to 'tools/mrbc/mrbc.rake')
| -rw-r--r-- | tools/mrbc/mrbc.rake | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/mrbc/mrbc.rake b/tools/mrbc/mrbc.rake deleted file mode 100644 index 1a0309a0d..000000000 --- a/tools/mrbc/mrbc.rake +++ /dev/null @@ -1,14 +0,0 @@ -MRuby.each_target do - current_dir = File.dirname(__FILE__).relative_path_from(Dir.pwd) - relative_from_root = File.dirname(__FILE__).relative_path_from(MRUBY_ROOT) - current_build_dir = "#{build_dir}/#{relative_from_root}" - - if bins.find { |s| s.to_s == 'mrbc' } - exec = exefile("#{build_dir}/bin/mrbc") - objs = Dir.glob("#{current_dir}/*.c").map { |f| objfile(f.pathmap("#{current_build_dir}/%n")) }.flatten - - file exec => objs + [libfile("#{build_dir}/lib/libmruby_core")] do |t| - linker.run t.name, t.prerequisites - end - end -end |
