On Tue, Jul 8, 2014 at 5:14 AM, Yann Droneaud <[email protected]> wrote:
> Le vendredi 04 juillet 2014 à 12:36 -0700, Philip Guenther a écrit : ... > > This can be confirmed by tell make that the RECIPE variable doesn't > > need > > to be exported. If you add this line to the Makefile: > > unexport RECIPE > > > > then the second '2' output goes away. > > Thanks again, this is the perfect work around I was hoping for. > > Here's the new makefile fragment: > > ifeq ($(V),1) > Q := > else > Q ?= @ > endif > > all: > $(Q) : $(info 1) > $(Q)$(eval unexport RECIPE)$(RECIPE) > $(Q) : $(info 3) > I give up: why do you feel the need to do the unexport via an $(eval) in the recipe? What problem are you trying to solve? (I am clever enough to know that I am not clever enough to use $(eval).) Philip Guenther _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
