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