bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45252] $(MAKE) not recognized in output of $(call)


From: Paul D. Smith
Subject: [bug #45252] $(MAKE) not recognized in output of $(call)
Date: Wed, 03 Jun 2015 19:11:02 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]