how to write foreach in makefile?

2016-06-26 Thread Vsyache Puz
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 in makefile?

2016-06-26 Thread Vsyache Puz
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

Re: how to write foreach in makefile?

2016-06-26 Thread Vsyache Puz
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'