   defp deps do
     [
       {:gen_state_machine, "~> 2.1"},
+
+      # Build the NIF
+      {:elixir_make, "~> 0.4", runtime: false},
 
       # Docs dependencies
       {:ex_doc, "~> 0.21", only: :dev, runtime: false},

    ]
  end
end

# Make tasks

defmodule Mix.Tasks.Compile.Make do
  # Compiles helper in c_src

  def run(_) do
    {result, error_code} = System.cmd("make", ["-C", "c_src"], stderr_to_stdout: true)

    # XXX(balena): Because the compiler changes the priv directory, we need to
    # notify Mix to rebuild the project structure under _build, copying the new
    # priv files.
    # https://github.com/riverrun/comeonin/pull/41/commits/5670e424f7d4feba0839211090f5dcf79b340577
    if error_code == 0 do
      Mix.Project.build_structure()
    end

    Mix.shell().info(result)

    :ok
  end
end

defmodule Mix.Tasks.Clean.Make do
  # Cleans helper in c_src

  def run(_) do
    {result, _error_code} = System.cmd("make", ["-C", "c_src", "clean"], stderr_to_stdout: true)
    Mix.shell().info(result)

    :ok
  end
end


  defp description do
    """
    An Elixir Session Initiation Protocol (SIP) stack.
    """
  end

