<div dir="ltr">uh! Who said "autotools" ?<div><br></div><div>Rebar doesn't need autotools to compile ports.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 7, 2014 at 11:10 PM, Loïc Hoguin <span dir="ltr"><<a href="mailto:essen@ninenines.eu" target="_blank">essen@ninenines.eu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We can't make any assumptions on how the C code will need to be built. If we make assumptions then only the simplest ports/NIFs will work. You may need autotools to run first for example. These can create a Makefile in c_src/ and then <a href="http://erlang.mk" target="_blank">erlang.mk</a> can directly call it. That's just one example of course.<div class="im HOEnZb">
<br>
<br>
On 03/07/2014 08:04 PM, Max Lapshin wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
why not to declare required ports in common makefile?<br>
what for to have additional c_src/Makefile ?<br>
</blockquote>
<br></div><div class="HOEnZb"><div class="h5">
-- <br>
Loïc Hoguin<br>
<a href="http://ninenines.eu" target="_blank">http://ninenines.eu</a><br>
</div></div></blockquote></div><br></div>