A zero-dependency Makefile for compiling static libraries and installers.
The project relies on a single Makefile.
Makefile
Default
make
Runs make all. Compiles the static library only.
make all
All
Compiles all source files (src/) into the static library build/libcamelot.a.
src/
build/libcamelot.a
Dist
make dist
Builds the library and generates the packages/ directory containing the install.sh and install.bat scripts.
packages/
install.sh
install.bat
Test
make test
Compiles the test harness (tests/main.c) and immediately executes the test runner to verify integrity.
tests/main.c
Clean
make clean
Wipes the workspace. Removes build/, packages/, and all intermediate .o object files.
build/
.o
Dirs
make dirs
Ensures the build/ directory exists. Runs automatically before other targets.
Last updated 1 month ago