|Martin Dørum df2beb2650 Merge branch 'feature/new-parser'||5 months ago|
|cmd||7 months ago|
|lib||7 months ago|
|test||10 months ago|
|.gitignore||1 year ago|
|Makefile||9 months ago|
|README.md||1 year ago|
|build.bx||9 months 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