Today I learnt that make has a --dry-run option! Tools that want to discover project includes, such as rtags, use this to discover how your project is built: https://github.com/Andersbakken/rtags#setup