tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
is this a make bug?
Given this:
   ------
FOO=foo
BAR=$(FOO::=bar:S/zop/flop/)
all:
        @echo $(FOO)
        @echo $(BAR)
        @echo $(FOO)
   ------
make prints:
   foo
   bar:S/zop/flop/
that is, the ::= modifier consumes the entire rest of the modifier
string and doesn't stop on colons or treat those as further modifiers.
I'm not clear on whether this is intentional. Thoughts?
-- 
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index