www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14188] New: Add gcc-equivalent -MD options to dmd

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: nobody puremagic.com
          Reporter: atila.neves 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.

--
Feb 16 2015