Hi everybody! redo is a pretty well-designed family of build-systems that enjoys a certain popularity among people on this mailing list.
Its recursive nature makes it well-suited to projects comprising a large amount of files. However, unlike comparable build-systems like make or tup, it lacks provisions to automatically track C #include dependencies, which is sorely needed for projects with many source files. To overcome this, I wrote a simple companion tool that integrates fairly seamlessly with redo. This tool is able to parse the dependency-only Makefiles that modern C compilers can produce during compilation, and feed these dependencies into redo (via 'redo-ifchange'). It should work with pretty much any redo implementation (other than maybe apenwarr's *minimal do*, because that one doesn't implement 'redo-ifchange' as a separate executable). You can find it here: https://github.com/tomolt/redo-depfile Any feedback is appreciated. Cheers, Thomas Oltmann P.S.: My sincere apologies if this post if considered off-topic, as redo is not under the suckless banner. I considered posting on the redo mailing-list instead, but that one seems very obscure and inactive, plus I recognize some of the posters there as being regulars on the suckless mailing lists as well.