make-w32
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATH vs. Path ([Fwd: Returned mail: see transcript for details]


From: David Baird
Subject: Re: PATH vs. Path ([Fwd: Returned mail: see transcript for details]
Date: Wed, 9 Mar 2005 16:10:41 +0200

> > 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]