help-make
[Top][All Lists]
Advanced

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

Overriding environnement in Make ?


From: Christophe LYON
Subject: Overriding environnement in Make ?
Date: Mon, 22 Jan 2007 11:13:00 +0100
User-agent: Thunderbird 1.5 (X11/20051201)

Hi all,

Consider this sample makefile:
export LD_LIBRARY_PATH := /prefix:$(LD_LIBRARY_PATH)
$(warning $(LD_LIBRARY_PATH))
$(warning $(shell echo $$LD_LIBRARY_PATH))

Why does the 1st warning includes "/prefix" and 2nd doesn't ?

When used as commands for a target, both have the same value.

Thanks,

Christophe.




reply via email to

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