Sha256: 4bb62006150e97f9bb876989bfa2c930aaf532b5809556fde2fcf237a4905da8

Contents?: true

Size: 547 Bytes

Versions: 6

Compression:

Stored size: 547 Bytes

Contents

TAGSRC = \
 numo/types/*.h \
 *.c

tags : TAGS
TAGS : $(TAGSRC)
	etags $(TAGSRC)

doc :
	yard doc *.c

C_TMPL = <%=Dir.glob("#{__dir__}/gen/tmpl*/*.c").join(" ")%>

COGEN = <%= __dir__ %>/gen/cogen.rb
DEPENDS = $(C_TMPL) <%= __dir__ %>/gen/*.rb

<%
   type_c = []
   type_rb = Dir.glob("#{__dir__}/gen/def/*.rb")
   type_rb.each do |s|
     type_c << c = "t_"+File.basename(s,".rb")+".c"
%>
<%=c%>: <%=s%> $(DEPENDS)
	ruby $(COGEN) -l -o $@ <%=s%>
<% end %>

src : <%= type_c.join(" ") %>

CLEANOBJS = *.o t_*.c *.bak
DISTCLEANFILES = depend TAGS

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
numo-narray-0.9.2.1 ext/numo/narray/depend.erb
numo-narray-0.9.2.0 ext/numo/narray/depend.erb
numo-narray-0.9.1.9 ext/numo/narray/depend.erb
numo-narray-0.9.1.8 ext/numo/narray/depend.erb
numo-narray-0.9.1.7 ext/numo/narray/depend.erb
numo-narray-0.9.1.6 ext/numo/narray/depend.erb