On Mon, 26 Apr 2004 08:46:05 +0100, Jonathan Worthington wrote:
>> Main Makefile contain line
>> .c.str: build_tools\c2str.pl
>>
>> But nmake do not understand this construction, only
>>
>> .c.str:
>>     .....
>>
> This is a problem I flagged up earlier, but I haven't had time to check
> leo's latest fix.  Looking at that line, I think it should be:-
> 
> .c.str: $(PERL) build_tools\c2str.pl

It should be
.c.str:
        $(PERL) build_tools\c2str.pl $< > $@

If the command is on the same line it is interpreted as a dependent, which
is not allowed for inference rules.

Ron

Reply via email to