findstring/MAKEFLAGS example is not robust

2013-04-24 Thread Peter Eisentraut
The manual contains this example: archive.a: ... ifneq (,$(findstring t,$(MAKEFLAGS))) +touch archive.a +ranlib -t archive.a else ranlib archive.a endif But this would also trigger if you ran make with any other option that contains a "t"

Weird "override" behaviour

2000-10-10 Thread Peter Eisentraut
least it's not what the documentation says. -- Peter Eisentraut [EMAIL PROTECTED] http://yi.org/peter-e/ ___ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make