Hi everybody,
I'm writing a simple makefile line like this :

$(foreach var,1 2 3,$(info $(var)))

this will work but if I substitute the body part with a variable like this

M = $(info $(var))
$(foreach var,1 2 3,$(M)))

Make tell me "missing separator" error , in my understanding
expanding of M will feed nothing to Make, so , there
should not be this error , right ? Thanks in advance .

_______________________________________________
Help-make mailing list
Help-make@gnu.org
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to