fabricate - interesting build tool that automatically determines which dependencies exist from the commands for the compiler and then derives only the necessary actions from this in case of updates. Makefiles are quite normal Python scripts, which enables a whole lot of interesting hacks.