|
From: | Oleksandr Gavenko |
Subject: | Re: How to handle files with ':' in the file name? |
Date: | Fri, 16 Jul 2010 14:20:25 +0300 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 |
On 16.07.2010 2:48, Peng Yu wrote:
Hi, I want to have filenames with ':' in Makefile. Simply adding '\' before ':' doesn't work. I have grepped the manual by ':'. But there are two many ':'s, I can't see where it mentiones how ':' is escaped. Could you please let me know how to escape ':' in a Makefile? .PHONY: all all: a\:b.txt a\:b.txt: echo $@
Not all FS allow any chars can be appear in path. For example see http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#naming_conventions But handling Windows-like path is interesting for me: c:\windows\system32\my.dll: d:\home\my.dll copy $< $@ -- С уважением, Александр Гавенко.
[Prev in Thread] | Current Thread | [Next in Thread] |