On Thu, 2025-07-03 at 14:38 +0200, wrotycz wrote: > > It's not expected that users look at the value of MAKEFLAGS that > > make itself sets (so, the version generated in a recipe). That > > format, although documented, is technically internal to make > > I was refering to C. Funk's proposition to define GNUMAKEFLAGS in > .profile.
I was specifically talking about the method you were using to try to learn about the usage of MAKEFLAGS, which involved creating recipes to show the value of that variable in different situations: > $ cat << EOF > Makefile > all: > @echo MAKEFLAGS=$(MAKEFLAGS) > EOF This isn't the right way to try to understand how MAKEFLAGS works for the user. The output looks complicated because it's showing you an internal value that make creates for itself. Users should not try to mimic this value, nor do they need to understand it in order to use MAKEFLAGS in their environment to control the default behavior of make.