Added --makedepend flag to rdmd

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Jun 5 08:53:00 PDT 2011


On 06/05/2011 10:48 AM, Andrei Alexandrescu wrote:
> I just added a --makedepend flag to rdmd:
>
> https://github.com/D-Programming-Language/tools/commit/451ffed8ff985465a52124f7671494ac1d3744b4
>
>
> It instructs rdmd to simply print to stdout the name of the input file
> followed by a colon and then by the space-separated files that the input
> file depends on, directly or indirectly. Example:
>
> // file test1.d;
> import test2.d;
>
> // file test2.d;
> import test3.d, mylib.test4.d;

Ehm, I meant to not include the .d suffixes...

// file test1.d;
import test2;

// file test2.d;
import test3, mylib.test4;


Andrei


More information about the Digitalmars-d mailing list