> Date: Mon, 23 Mar 2009 13:44:31 +0300
> From: "Alexander V. Trushkin" <trush...@iitp.ru>
> 
> In spite of that the upper directory in Windows contains files of the
> kind ..\*.x, the construction of the type:
> 
>     $(wildcard ..\*.x)
> 
> returns an empty list as well as
> 
>      a : ..\*.x
> 
> does not find any prerequisite, though
> 
>      a : ..\b
> 
> does work, and everything works when
> '\' is replaced by '/'.

This is a ``feature'' of the $wildcard function: a backslash is an
escape character, not a directory separator.  So "..\*.x" means files
that literally include the * in their names (of course, on Windows,
there cannot be such files).  Using the forward slash is the way to
go.

> Maybe it will be interesting for you in order to make the behaviour
> uniform both in Unix and Windows versions.

This behavior _is_ uniform on Unix and Windows.


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to