> > I am using the following make file to test the impact of my own
> > changes on the code.
> 
> Running (a slight modification of) your test makefile reveals yet another
> error of this beta: $(MAKE) needs those backslashes! Without them the
> cmd.exe shell doesn't work. I added a line with literal path, i.e.
>        @echo +
>        -$(MAKE) -v | findstr Copyright
>        @echo +
> +       -c:\util\gmake -v | findstr Copyright
> +       @echo +
>        @echo + Path macro = $(Path)
>        @echo +
>        @echo + PATH macro = $(PATH)

Fine, but I am trying to test the PATH/Path variable, not slashes. So
to use my test make file, you need to place C:\util in your Path
before running make, and run make with the following command:

make -f w32_cmd_path.mak

The point is figuring out when the call to "make -v" fails. If it does
fail to find make.exe (desired result), then you succeeded in changing
the Path from the make file.

-David


_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to