http://dpaste.dzfl.pl/562f1ddc1aad

This can build the static and dynamic libraries on Linux. I then linked to the static version to make sure my programs still worked. They did.

For other OSs there'd be some logic to select different files. It was a pain figuring out exactly what posix.mak did but at least this works. Is this horrible or is this the kind of direction we might want to go? Also, why are some Linux files not being built on Linux with the current Makefile?

In theory this approach would mean readable build descriptions in D, and only one of them for all OSs instead of 3 makefiles. Also, never again typing `make clean`.

Once reggae has a binary backend this would mean no dependency on make, ninja or tup. Just a D compiler.


Atila

Reply via email to