How to write foreach cycles in Makefile properly?
I have read
https://www.gnu.org/software/make/manual/html_node/Foreach-Function.html#Foreach-Function
https://www.gnu.org/software/make/manual/html_node/Eval-Function.html#Eval-Function
https://www.gnu.org/software/make/manual/html_node/Value-F
How to write foreach cycles in Makefile properly?
I have read
https://www.gnu.org/software/make/manual/html_node/Foreach-Function.html#Foreach-Function
https://www.gnu.org/software/make/manual/html_node/Eval-Function.html#Eval-Function
https://www.gnu.org/software/make/manual/html_node/Value-Fu
it's not ended, it's enDEF.
Internet people helped me to find the source of this error.
it happens because I used variable assignments inside target.
Makefiles don't work that way (makefile variables are assigned at global
scope).
On 06/26/2016 03:14 PM, Jay Lawrence wrote:
> Misspelled 'endif'