On Mon, 2011-03-14 at 14:20 +0330, ali hagigat wrote:
> I tested make 3.81 with:
> var1=1111
> e12:
>       @echo $(eval $(call var1))
> 
> /root/makefiles_examples> make -f makefile23
> makefile23:3: *** missing separator.  Stop.

Correct. "1111" is not a legal makefile line.

> But @echo $( eval $(call var1)) is OK. One space was added after "$("
> and before "eval".

Correct.  Adding a space makes this not a function call anymore.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to