Sha256: 6d5c43143040269b8aa70772555f82a0760f285cfd32776b525da23ee0dfae89

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

COGEN=<%= "ruby #{__dir__}/gen/cogen.rb -l" %>
GENDEPS=<%= "#{__dir__}/gen/*.rb #{__dir__}/tmpl/*.c" %>

<%
srcs = %w[s d c z].map{|c| [c, "lapack_#{c}.c"]}
srcs.each do |c,s|
%>
<%=s%>: $(GENDEPS)
	$(COGEN) -o $@ <%=c%>
<% end %>

GENSRC=<%= srcs.map{|x| x[1]}.join(" ") %>

src : lapack.c $(GENSRC)

doc : $(GENSRC)
	yard doc -m markdown $(GENSRC)

clean: cleansrc cleandoc
cleansrc:
	-$(Q)$(RM) $(GENSRC)
cleandoc:
	-$(Q)$(RM_RF) doc .yardoc

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
numo-linalg-0.1.7 ext/numo/linalg/lapack/depend.erb
numo-linalg-0.1.6 ext/numo/linalg/lapack/depend.erb