colon - windows path "C:/Program Files/libtoto.h"

"[email protected]" <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
hello,

I use GNU Make 3.81 on windows directly with DOS (not cygwin). It's for a little makefile library http://savannah.nongnu.org/projects/makecfiles.

I have a problem with paths that contain ":". This problem has already been mentioned, but no solution has been made.
http://www.opensubscriber.com/message/[email protected]/9534935.html
The problem mentioned in another discussion (http://www.nabble.com/3.81-and-windows-paths-td5527972.html#a5552260
) is that :
foo : c:bar
should this be interpreted as a static pattern rule:
foo : c : bar

I understand the problem but with quotes it should no longer exist, no ?

So in my makefile, I use :
----
"toto.o" : "toto.c" "C:/Program Files/libtoto.h"
----
And this produce an error. How do I get around this problem?

I have tested to use a variable like this :
----
COLON:=:
"toto.o" : "toto.c" "C$(COLON)/Program Files/libtoto.h"
----
But I have the same error.

Best regards,
Fab
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.