#include "build.h"

The Gist

Your build system is just C code.

// build.c
#define INCLUDEBUILD_IMPLEMENTATION
#include "build.h"

int main() {
    ib_init();
    ib_build(); // Automatically finds and builds your project
    return 0;
}

Compile and run it:

$ gcc -o build build.c
$ ./build
[INFO] IncludeBuild v1.0.2 initialized
[INFO] Building target: app
[INFO] Compiling: src/main.c
[INFO] Linking: build/app
[INFO] Build successful.

Why?

Getting Started

Get Started

Download build.h
curl -scO https://raw.githubusercontent.com/korzewarrior/includebuild/master/build.h

Just drop it in your project root.

2. Create a `build.c` file in your project root.

3. Define `INCLUDEBUILD_IMPLEMENTATION` in exactly one file (usually `build.c`) if you are customizing the implementation, or just link against it.

Note: The basic usage just needs included header.

Features