On Tue, 2009-06-02 at 02:55 +1000, Anthony Shipman wrote:
> all:
> @echo $(origin HOME)
> @echo $(HOME)
> From 'make -e'
>
> environment
> /home/felix
>
> rather than
>
> environment override
> /home/felix
>
> Am I doing something wrong?
No. You only get "environment override" if there was some setting of
the variable in the makefile that was overridden by the environment. If
you do this:
HOME = foo
all: ; @echo $(origin HOME)
then "make -e" will show "environment override".
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make