A bakery themed build system
Find a file
2025-12-26 21:26:50 +01:00
src basically just code cleanup 2025-12-26 21:26:50 +01:00
.gitignore lol didn't realize the clangd cache was here 2025-12-25 00:06:30 +01:00
bake.lua added a stub library so the LSP shuts the fuck up holy shit 2025-12-24 23:41:25 +01:00
bake_stubs.lua added a stub library so the LSP shuts the fuck up holy shit 2025-12-24 23:41:25 +01:00
LICENSE Initial Commit 2025-12-05 23:33:12 +01:00
Makefile modify Makefile a little, remove the github workflows 2025-12-24 23:49:54 +01:00
README.md update README 2025-12-25 00:04:20 +01:00

Bake | The Bakery-themed Build System.

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.


Features

  • 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.

Installation

  1. Clone the repository and install:
git clone https://github.com/spelis/bake.git
cd bake
make

Note: Bake can build itself! Just run bake if you already have it.

  1. Run Bake:
./build/bake
# or install it (bake exclusive)
./build/bake install
# now it's installed globally!

License

MIT License: LICENSE