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