https://issues.dlang.org/show_bug.cgi?id=14188

          Issue ID: 14188
           Summary: Add gcc-equivalent -MD options to dmd
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nob...@puremagic.com
          Reporter: atila.ne...@gmail.com

gcc can output Makefile-compatible dependency files with the -MD -MF combo, or
-MMD -MF which leaves out system files (such as stdio.h). dmd has -deps, but
the output format is unusable by GNU make and requires transformation.

This feature is necessary in order to have Make and Ninja compatible dependency
generation done by the compiler.

--

Reply via email to