Follow-up Comment #3, bug #63821 (project make):

The title is slightly misleading because MAKEFLAGS += -r DOES disable default
suffix rules, it just doesn't remove them if you add back the extensions to
the .SUFFIXES target.

See this test from tests/scripts/options/dash-r which passes:


# Make sure we can set it from within the makefile too
run_make_test(q!
COMPILE.c = echo
MAKEFLAGS += -r
!,
              'xxx.o',
              "#MAKE#: *** No rule to make target 'xxx.o'.  Stop.", 512);


Since we don't set .SUFFIXES we get the answer we want.  I do agree that your
change is needed though: we shouldn't "recover" the rules by setting .SUFFIXES
without redefining them.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63821>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/


Reply via email to