On Friday, 22 April 2016 at 17:00:21 UTC, Piotrek wrote:
On Monday, 18 April 2016 at 15:15:26 UTC, Atila Neves wrote:
Here's[1] another attempt at converting the Makefile for POSIX systems to D using reggae[2].
...
Destroy!

Atila

I know you your intention was to keep it similar to makefile, but for me it looks unnecessarily complex.

What whould you say about different approach e.g.:

void configure()
{
    with (targets["linux shared library"])
    {
        inheritConfig("linux 32");
        sources = "lib/*.d";
        dependency ~= "objects";
        output = "somthing.so";
    }
}


Piotrek

I think simpler would be better and that it could definitely be made simpler.

But none of that matters unless we can switch, and we won't be able to if I can't maintain it in parallel.

It's complex because posix.mak is complex.

Atila

Reply via email to