Consider this Makefile:

================================================================
z := $(MAKEFLAGS)

all:
        @echo $(z)
================================================================

I think that "make -j" should print "j".
However, it does not:

barimba. make -j

barimba. 


This is a contrived example but in practice what it means is that one
cannot use MAKEFLAGS in some "if" conditions.  For instance, if you
rewrite the example from (make) Testing Flags so that each branch of the
"if" declares the target "archive.a:", it will no longer work.

Tom

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to