Follow-up Comment #2, bug #29885 (project make):
Now add
$(info MAKEFLAGS=${MAKEFLAGS})
$(info MAKEOVERRIDES=${MAKEOVERRIDES})
to the top part of the makefile:
$ make -f x2.mk FOO=bar
MAKEFLAGS=
MAKEOVERRIDES=FOO=bar
make -f x2.mk show
make[1]: Entering directory
'/build/seidel/FaceVACS-Exp/new/FaceVACS-Exp-Software'
MAKEFLAGS=w
MAKEOVERRIDES=FOO=bar
: w -- FOO=bar
You see that MAKEFLAGS does not contain variable definitions or is there an
issue with $(info)?
I use $(info), $(warning), $(error) a lot for debugging and I currently want
to check whether the flag -k was specified as make flag. If MAKEFLAGS really
contains also variable settings I should check the older MFLAGS instead ...
Verified with make 4.1 and 3.81.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?29885>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make