help-make
[Top][All Lists]
Advanced

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

Re: Escape rules for target name and dependency list


From: Stephan Beal
Subject: Re: Escape rules for target name and dependency list
Date: Tue, 6 Apr 2010 19:35:11 +0200

On Tue, Apr 6, 2010 at 6:18 PM, Allan Odgaard <682E7718-3533-4FED-AF3B-  foo\:bar.o: foo?bar.c
  foo\:bar.s: foo?bar.c
      …
 
This is where I decided to seek professional help ;)

If you have filenames with colons in them, you certainly do need professional help ;). Colons aren't legal in all filesystems, e.g. no Microsoft filesystems don't allow them. Semicolons also aren't allowed on all filesystems (again, i think MS doesn't allow them).

i've done quite a lot of:

1) Makefile calls script.
2) Script generates makefile code
3) Make imports and evals the makefile code

(mostly from back when i still supported pre-eval() Make versions.)

A lot of that can be found here:

http://toc.svn.sourceforge.net/viewvc/toc/trunk/toc2/make/

the files are named "makerules.XXXXX"

Perhaps they'll be helpful to you?

But if you're using such weird character in filenames, i highly recommend re-evaluating the need to do so.

--
----- stephan beal
http://wanderinghorse.net/home/stephan/

reply via email to

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