Robert P. J. Day wrote:
[...]
exactly. :-) one more piece of clarification. in section 6.9, i read:
"Every environment variable that make sees when it starts up is
transformed into a make variable with the same name and value."
so this means, then, that there is no effective difference between getting
an environment variable from a caller, and creating (and exporting) a
variable within a makefile? would it be more technically correct to
rephrase the sentence above by appending "... and then exported"? since
if you just assign a value to a variable, that will *not* be available to
sub-makes unless you export it first.
am i making sense? there's only decaf left here. grrr ...
Note that variables assigned through the environment are "assigned" before
your makefiles assign variables (so makefile assignments "override" the
environment), but variables assigned on the command line
(i.e. make DEBUG=true all) override variables assigned inside the makefiles
except ofcourse if you use the keyword "override" in your makefile
Cheers,
-Tristan
/me wipes the sweat from my brow
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/help-make