help-make
[Top][All Lists]
Advanced

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

Re: Quoted file names matching a pattern?


From: Ken Smith
Subject: Re: Quoted file names matching a pattern?
Date: Thu, 30 Jun 2005 13:07:31 -0400
User-agent: Mutt/1.5.9i

On Thu, Jun 30, 2005 at 07:32:42PM +0300, Angel Tsankov wrote:
> > Quoted filenames won't help because make doesn't do quotes.
> >
> > Basically, it is very, very difficult, even impossible, to handle
> > filenames containing whitespace using make.
> 
> Well, "very, very difficult" does NOT mean impossible, right? So, if it is 
> possible to write a makefile to compile the .cpp files (some may contain 
> whitespace in their name) in a folder, I'll be glad to know how this is 
> done.

When I want to deal with strings in gmake which may have whitespace, I
generally use $(subst) to replace the whitespace with some other
non-whitespace token which I can parse out at the last minute just
before I need to use it in its original form.

  Ken

> Regards. 
> 
> 
> 
> 
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-make




reply via email to

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