Variable expansion in makefiles question
Posted on 2006-06-22
For the following command in Makefile, I want to find out when the variables and the call function are expanded:
$(call someFUNC, $(someVAR))
I have read that " all instances of conditional syntax are parsed immediately at the point it was read (before execute specified targets) ". So the call function expands immediately?
But I have also read that:
someDEF will expand immediately, but someFUNC in this case will not expand until someDEF is referenced. So when does the call function expand?
Thank you in advance,