> Cc: make-w32@gnu.org
> From: [EMAIL PROTECTED]
> Date: Mon, 20 Oct 2008 18:09:13 +0800
> 
> This is a question about how to set path environment variable in windows 
> from with in a gmake makefile.

Just set PATH as any other Makefile variable (but use := to prevent
self-referencing recursive definition):

  export PATH := ABC;$(PATH)

> I use active perl but I dont think this matters.

Well, I think it does, see below.  And using Perl for changing PATH in
a Makefile is an overkill, IMO.  Make has its own means for doing that.

> There are one PATH modified and one Path untouched.

No, they are both named "Path".  I guess this is something Perl does
on Windows.

> How can I change both ?

Do you really need to change both?  If so, change both of them, as I
show above.

> And why there are two ?

If you ask why two variables named "Path", I think this is a problem
with how Perl displays PATH and Path.  But that's a guess.


_______________________________________________
Make-w32 mailing list
Make-w32@gnu.org
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to