|Martin Dørum 5b45d3cc6e fix link flag||1 week ago|
|src||1 week ago|
|.gitignore||1 month ago|
|Makefile||2 weeks ago|
|README.md||2 weeks ago|
|build.bx||2 weeks ago|
Boxberry is a build system which aims to be usable for tiny projects, all the way down to single source files.
Not all projects need a big Makefile or a huge CMakeLists.txt.
However, almost all projects grow to the size where they need some library,
or some compiler flag, maybe an optimization option.
Boxberry aims to make the path from running
cc file.c to running
cc -lpthread file.c to
cc file.c $(pkg-config --libs --cflags libfoo) -lpthread
as easy as possible.
//#bx pkgs := libfoo
//#bx ldlibs := -lpthread ldflags := -fsanitize=address cflags := -fsanitize=address
build.bxfile. Each directory can have a build.bx file, and each directory inherits the configuration of its parent.
filesvariable in a
This project can be built by running either
The only dependency is
$(CC) -MMto make recompiles faster when little has changed