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
> [email protected]
> http://lists.gnu.org/mailman/listinfo/help-make


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to