In the above, "export MAKEFLAGS=-j1" is just a piece of text
inside a variable definition, and not a directive.
The $(eval ...) causes that text to be evaluated as GNU Make syntax;
then that export takes effect. Its effect is global. After that,
make will pass that variable down as an environment variable.
The GNU Make manual also says this:
The special variable MAKEFLAGS is always exported (unless you unexport
it). MAKEFILES is exported if you set it to anything.
So "export MAKEFLAGS" is a useless use of export.
--
TXR Programming Lanuage:
http://nongnu.org/txr
Music DIY Mailing List:
http://www.kylheku.com/diy
ADA MP-1 Mailing List:
http://www.kylheku.com/mp1