`-mD` is not an option... `-M -MF $file` can be used together with `-E` to generate a small makefile-like generator (does not include any compiler flags!) for the target file so we know which files it would use during compilation