ext/numo/linalg/blas/depend.erb in numo-linalg-0.1.5 vs ext/numo/linalg/blas/depend.erb in numo-linalg-0.1.6
- old
+ new
@@ -1,6 +1,6 @@
-COGEN=ruby gen/cogen.rb -l
-GENDEPS=gen/*.rb tmpl/*.c
+COGEN=<%= "ruby #{__dir__}/gen/cogen.rb -l" %>
+GENDEPS=<%= "#{__dir__}/gen/*.rb #{__dir__}/tmpl/*.c" %>
<%
srcs = %w[s d c z].map{|c| [c, "blas_#{c}.c"]}
srcs.each do |c,s|
%>