help-make
[Top][All Lists]
Advanced

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

Re: Setting PATH from withing make for $(shell) ?


From: David Boyce
Subject: Re: Setting PATH from withing make for $(shell) ?
Date: Fri, 16 Jun 2006 11:11:33 -0400

At 10:59 AM 6/16/2006, Cesar Crusius wrote:
Ah thanks. The problem is then I chose the only thing that *doesn't* work to
test that the variable was being set!

Since the shell has its own environment-setting mechanism you can deal with even this like so:

        export PATH := <your-path>
        $(warning $(shell PATH=${PATH} which gcc))

-David Boyce





reply via email to

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