Build System

A zero-dependency Makefile for compiling static libraries and installers.

Makefile Reference

The project relies on a single Makefile.

Default

make

Implicit

Runs make all. Compiles the static library only.

All

make all

Compiles all source files (src/) into the static library build/libcamelot.a.

Dist

make dist

Distribution

Builds the library and generates the packages/ directory containing the install.sh and install.bat scripts.

Test

make test

Compiles the test harness (tests/main.c) and immediately executes the test runner to verify integrity.

Clean

make clean

Maintenance

Wipes the workspace. Removes build/, packages/, and all intermediate .o object files.

Dirs

make dirs

Internal

Ensures the build/ directory exists. Runs automatically before other targets.

Last updated