Follow-up Comment #2, bug #45252 (project make):

I should point out, you CAN add the '+' into the variable; this will work:


define foo
        +$(MAKE) bar
endef

default:
        $(call foo)

bar:


Obviously this requires that the variable expansion appears as the first thing
in the recipe; it won't work to do something like:


define foo
        +$(MAKE) bar
endef

default:
        @echo hi ; $(call foo)

bar:


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45252>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to