[erlang-questions] erlang.mk neotoma

Loïc Hoguin <>
Fri Mar 7 20:10:14 CET 2014


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 erlang.mk can directly call it. That's just one 
example of course.

On 03/07/2014 08:04 PM, Max Lapshin wrote:
> why not to declare required ports in common makefile?
> what for to have additional c_src/Makefile ?

-- 
Loïc Hoguin
http://ninenines.eu



More information about the erlang-questions mailing list