Semicolons don't appear to be parsed properly in
target-specific variable definitions.  A workaround is
required to do much shell work there.  Example:

GNU Make version 3.79, by Richard Stallman and Roland
McGrath.

Makefile:
# Non target-specific
BAR1 = ";"
foo1 :
        echo $(BAR1)

# Target-specific
foo2 : BAR2 = ";"

foo2 :
        echo $(BAR2)

# Workaround
BAR3 = ";"
foo3 : BAR2 = $(BAR3)

foo3 :
        echo $(BAR2)

Command-line:
>make foo1
echo ";"
;
>make foo2
echo ";

>make foo3
echo ";"
;

Hope this report is useful.  I love the new
target-specific variable definitions!  Thanks,

Andrew



__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com

Reply via email to