On Fri, Aug 19, 2011 at 10:50 AM, Warlich, Christof <
[email protected]> wrote:

> target: $(shell cygpath -m $(abspath source))
>    echo $<
>
> I get the following error message:
>
> Makefile:2: *** target pattern contains no `%'.  Stop.
>

That's not the only problem you'll have with this: now try adding the
cygwinified path as a _rule_, e.g.:

c:/a:
        touch $@
all: c:/a

i.e. if make doesn't know how to rebuild the dependent file you'll get "no
rule to build ...". Since it would appear to be syntactically impossible to
declare such a rule, i think this use-case might be impossible to do in
make. Maybe one of the Gurus can figure out a solution. Or maybe you can use
cygwin symlinks to work around it? (i'm only guessing - i don't use
Windows.)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to