Bake is a lightweight build system written in C. It allows you to define recipes, wildcard rules, and dependencies, similar to Make, but with Lua scripting flexibility.
- Define recipes in Lua with dependencies.
- Support for wildcard patterns (
%.c,%.o). - Phony targets with the
"ALWAYS"dependency. - Automatic collection of source files and mapping to object files.
- Incremental builds: only rebuild targets when dependencies are out of date.
- Simple, color-coded logging.
- Clone the repository and install:
git clone https://github.com/spelis/bake.git
cd bake
makeNote: Bake can build itself! Just run
bakeif you already have it.
- Run Bake:
./build/bake
# or install it (bake exclusive)
./build/bake install
# now it's installed globally!MIT License: LICENSE