Loch Brandon (7 May 2020 20:41) wrote:
> @if not exist $(OUTPUTDIR)\$(notdir $(OBJDIR)) $(MKDIR) $(OUTPUTDIR)\$(notdir 
> $(OBJDIR))

> When running without the '@' this is the result:
> echo Verifying and building application directory structure...
> Verifying and building application directory structure...
> if not exist output mkdir output
>
> Then it hits the error.

Quoting the error message as text would be a kindness to the reader.

Not sure what's going wrong, but one thing that crosses my mind is that
\ is an escape character in make-files, so may be escaping the
$-expansion you were hoping for with $(notdir ...) - I believe the MS
command shell understands / as path separators also, so try replacing
each \ with a / in your commands and see if that helps.

        Eddy.

Reply via email to