help-make
[Top][All Lists]
Advanced

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

How to handle files with ':' in the file name?


From: Peng Yu
Subject: How to handle files with ':' in the file name?
Date: Thu, 15 Jul 2010 18:48:39 -0500

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 $@


-- 
Regards,
Peng



reply via email to

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