I have created a build system: https://github.com/GauravDawra/Beast.I want to add support for dependency files that gcc creates using the -MMD flag (the files with .d extension).
I am looking for an available parser for the same (maybe written in flex/bison or some other format). Is there some way to easily parse .d files or does gcc itself provides some way to parse them?