talira

elixir_make

A Make compiler for Mix

commercial softwarefree

elixir_make is a Mix compiler that runs a Makefile as part of compiling an Elixir project, so a package with native code (C sources built into a NIF, say) can build it with mix compile. It calls make on Unix, nmake on Windows and gmake on FreeBSD and OpenBSD, and it also supports downloading precompiled artefacts instead of building them.

Problems it solves

  • build C code with a Makefile as part of compiling my Elixir project
  • compile a NIF written in C when someone installs my Hex package
  • use a Makefile to build native dependencies of a Mix project on Linux, macOS and Windows

Features

  • runs make, nmake or gmake from mix compile
  • precompiled artefact downloads
  • works with the Mix compiler list

Limitations

  • Its repository has no LICENSE file and its source files carry no licence notice; only mix.exs and the README name Apache-2.0 ("Same as Elixir")1

Alternatives

The same job

These do what elixir_make does.

  1. CMake A powerful software build system
  2. Xmake Lua-based cross-platform build tool for C and C++ with a built-in package manager
  3. GNU Libtool GNU's generic library support script for building shared and static libraries portably
  4. Meson Fast, user-friendly open source build system with a readable, non-Turing-complete language

Compare elixir_make with the top 3