tech-toolchain archive

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

Re: make: :: embeded in targets



On Thu, 03 Mar 2011, Simon J. Gerraty wrote:
The patch below, allows something like:

all: silly::target
silly::target:
        @echo hi

to work, instead of saying

make: don't know how to make silly::target. Stop

Hmm, but it will break this:

all:foo
foo:
        @echo hi

Perhaps some sort of backslash escaping or variable substitution could be used? (silly\:\:target or silly${COLON}${COLON}target).

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index