Re: Make on XP - shell selection?
Earnie Boyd <[email protected]>
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <[email protected]> |
Quoting Gary Turner <[email protected]>: > > It all worked perfectly until I installed a compiler that put a sh > shell on my path. Since then all my makefiles are broken. Bad business. Is there a reason the compiler needs the PATH set? > Make appears to insist on using the sh shell buried on my path rather > than cmd.exe > I've tried explicitly putting SHELL = cmd.exe in my makefiles - but > that didn't seem to work. Putting SHELL = c:\winnt\system32\cmd.exe > seems to sort-of work, but then all sorts of other errors come up. > Eli, I thought this was supposed to work? > Is there a simple way (other than changing my path before running > make) to keep all my makefiles that worked perfectly well before > working? Modify the source and rebuild make? Create a make.bat file to modify the PATH and execute make.exe with the parameters passed to the make.bat file? The .bat is found before .exe so executing with ``make -f mymakefile'' still works as expected. Earnie