mix compile.c3nif (C3nif v0.2.0)

View Source

Compiles C3 NIF modules.

This task is automatically run before compilation and tests. It performs two operations:

  1. Compiles the c3nif.c3l runtime library (when in development)
  2. Compiles all NIF modules that use C3nif

Incremental Compilation

The task tracks source file modifications and only recompiles when:

  • The C3 source code has changed
  • Any external source files (:c3_sources) have changed
  • The output library doesn't exist