make-w32
[Top][All Lists]
Advanced

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

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


From: address@hidden
Subject: colon - windows path "C:/Program Files/libtoto.h"
Date: Sat, 22 Nov 2008 18:11:37 +0100
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

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/address@hidden/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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]