Follow-up Comment #2, bug #30606 (project make):
Hi,
The $(call) expands everything, so you get this:
lets say $1=ab
b := ab
yn := n
vs := ab:
You might ask why :-)
Well when the $(if) is expanded by call, b has no value - the assignment has
not been executed yet because your exec happens *after* your call.
You need to protect things such that the call can't expand them prematurely.
e.g. $1 doesn't really need protection but you do need $$(if and $$(strip
$$(b)) and $$(yn)
Cheers,
Tim
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30606>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-make