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 $< $@ -- С уважением, Александр Гавенко. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
