Problems with dmd Switches in Makefiles
Tom Browder via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat May 17 06:19:06 PDT 2014
On Sat, May 17, 2014 at 8:05 AM, via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> 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$@
>>
>> which doesn't work
> works for me with GNU Make 3.82.
You're correct, my error. I had another error which I misinterpreted.
So GNU make expands the "$@" variable even without the space after
"-of"--great!
Thanks for the help.
Best regards,
-Tom
More information about the Digitalmars-d-learn
mailing list