https://github.com/araspik/samurai uses C99 instead of C++ runtimes to reimplement Ninja-build independently of the original source base. It should be compilable with https://github.com/LibCodeGen/sqbe-c so that the builds can be modular in the same way as objects and module generators could be modularized.