SCons

I saw this stuff being used in George Hotz repository.

“SCons is an Open Source software construction tool. Think of SCons as an improved, cross-platform substitute for the classic Make utility with integrated functionality similar to autoconf/automake and compiler caches such as ccache. In short, SCons is an easier, more reliable and faster way to build software.”

Resources

So to build something, I just run scons, and then it looks what SConscript.