Re: Problems with dmd Switches in Makefiles

2014-05-19 Thread via Digitalmars-d-learn
On Sunday, 18 May 2014 at 16:15:53 UTC, Marc Schütz wrote: For the compiler version, I've submitted a PR: https://github.com/D-Programming-Language/dmd/pull/3558 Ok, the outcome is that a dedicated option is not seen as necessary. DMD already prints its version as the first line if you call

Re: Problems with dmd Switches in Makefiles

2014-05-18 Thread via Digitalmars-d-learn
For the compiler version, I've submitted a PR: https://github.com/D-Programming-Language/dmd/pull/3558

Re: Problems with dmd Switches in Makefiles

2014-05-17 Thread Tom Browder via Digitalmars-d-learn
On Sat, May 17, 2014 at 8:05 AM, via Digitalmars-d-learn wrote: > On Saturday, 17 May 2014 at 13:01:07 UTC, Tom Browder via > Digitalmars-d-learn wrote: ... >> I just found out I can't use dmd switches for file names variable in a >> GNU makefile, e.g., see this fragment ... >> dmd -c $< -of

Re: Problems with dmd Switches in Makefiles

2014-05-17 Thread via Digitalmars-d-learn
On Saturday, 17 May 2014 at 13:01:07 UTC, Tom Browder via Digitalmars-d-learn wrote: I know I'm supposed to use dub, but I'm not ready. I just found out I can't use dmd switches for file names variable in a GNU makefile, e.g., see this fragment %.o : %.d dmd -c $< -of $@ which doesn't

Problems with dmd Switches in Makefiles

2014-05-17 Thread Tom Browder via Digitalmars-d-learn
I know I'm supposed to use dub, but I'm not ready. I just found out I can't use dmd switches for file names variable in a GNU makefile, e.g., see this fragment %.o : %.d dmd -c $< -of $@ which doesn't work because the "-of" must be followed immediately by a file name with no intervening sp