help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing


From: yushang
Subject: missing
Date: Tue, 6 Mar 2012 14:06:00 +0800

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 .



reply via email to

[Prev in Thread] Current Thread [Next in Thread]