summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index f9e5e5ce3..0902cb330 100644
--- a/Rakefile
+++ b/Rakefile
@@ -79,8 +79,12 @@ MRuby.each_target do |target|
end
end
+depfiles += MRuby.targets.map { |n, t|
+ [t.libfile("#{t.build_dir}/lib/libmruby")]
+}.flatten
+
depfiles += MRuby.targets.reject { |n, t| n == 'host' }.map { |n, t|
- [t.libfile("#{t.build_dir}/lib/libmruby")] + t.bins.map { |bin| t.exefile("#{t.build_dir}/bin/#{bin}") }
+ t.bins.map { |bin| t.exefile("#{t.build_dir}/bin/#{bin}") }
}.flatten
desc "build all targets, install (locally) in-repo"