Tag Info

New answers tagged

1

Let's add some more debugging code. all: $TARGETS define f2 $$(info f2 called on $(1)) .PHONY: target$(1) target$(1): echo "We are in $(1)" TARGETS+=target$(1) endef define f1 VAR$(1)=ValueWith$(1) $(info too early: VAR$(1) is $$(VAR$(1))) $$(info right time: VAR$(1) is $$(VAR$(1))) $(eval $(call f2,$(VAR$(1)))) endef $(eval $(call f1,CallOne)) $(eval ...



Top 50 recent answers are included