Makefile-like single-header library for building projects with C.
- Dependency solving: Solves and rebuilds old targets based on input/output chains, supports glob patterns
- Variable management: Set, get, and override variables from environment, command-line, or C code
- Command-line flags: Support for dry-run, always-run, other make flags, and customizable flags
- Cross-platform: Works on linux and windows
Check build.c for an simple example.
gcc -o build build.c
./buildAll tests are run in the same way:
# assuming you are in a test folder
gcc -o build build.c
./build snap # show diff from expected output
./build save # saves output to expectedTo check formatting and run all the tests:
.githooks/pre-commit