Sha256: 23acd8c37bcd967b1748e3e276ee3c28a98f9accf6cb61d4727a982927b2a6d5

Contents?: true

Size: 441 Bytes

Versions: 2

Compression:

Stored size: 441 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, "blas_#{c}.c"]}
srcs.each do |c,s|
%>
<%=s%>: $(GENDEPS)
	$(COGEN) -o $@ <%=c%>
<% end %>

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

src : blas.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/blas/depend.erb
numo-linalg-0.1.6 ext/numo/linalg/blas/depend.erb