Re: Windows shell discovery (was: Re: Incorrect path and shell script error)

2020-05-07 Thread Eli Zaretskii
> From: Loch Brandon > CC: "bug-make@gnu.org" > Date: Thu, 7 May 2020 19:47:58 + > > Alright so I added the path to the cmd.exe and I now see a different error. I didn't say to add the path to cmd.exe. I meant to write exactly this line in the beginning of the Makefile: SHELL = cmd.exe

Re: Windows shell discovery (was: Re: Incorrect path and shell script error)

2020-05-07 Thread Loch Brandon
Alright so I added the path to the cmd.exe and I now see a different error. This is the output while running make. C:\Users\bl68969.JDNET\Projects\HHP2\Code\M2_501\ProgramSpecific\MakeFileBuild>make echo -- A subdirector

Re: Windows shell discovery (was: Re: Incorrect path and shell script error)

2020-05-07 Thread Eli Zaretskii
> From: Paul Smith > Date: Thu, 07 May 2020 15:20:39 -0400 > > Maybe some setting of the make SHELL variable in your makefile can > convence make to use command.com, but I'm not sure. > > Maybe someone with more experience on Windows than I can comment. Yes, "SHELL = cmd.exe" in the Makefile sh

Windows shell discovery (was: Re: Incorrect path and shell script error)

2020-05-07 Thread Paul Smith
On Thu, 2020-05-07 at 18:41 +, Loch Brandon wrote: > dirs: > @$(ECHO) > @$(ECHO) Verifying and building application directory structure... > @if not exist $(OUTPUTDIR) $(MKDIR) $(OUTPUTDIR) > @if not exist $(OUTPUTDIR)\$(notdir $(OBJD

Re: Incorrect path and shell script error

2020-05-07 Thread Loch Brandon
dirs: @$(ECHO) -- @$(ECHO) Verifying and building application directory structure... @if not exist $(OUTPUTDIR) $(MKDIR) $(OUTPUTDIR) @if not exist $(OUTPUTDIR)\$(notdir $(OBJDIR)) $(MKDIR) $(OUTPUTDIR)\$(notdir $(OBJDIR)