[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implicit pattern rules do not match files with spaces in their names
From: |
Paul Smith |
Subject: |
Re: Implicit pattern rules do not match files with spaces in their names [resend] |
Date: |
Wed, 08 Jun 2011 19:49:26 +0200 |
On Tue, 2011-06-07 at 16:35 -0400, Anthony DeRobertis wrote:
> This is with GNU Make 3.81. I originally posted this as a question on
> Stack Overflow, http://stackoverflow.com/questions/6233574/
>
> According to the docs (10.5.1), % in a pattern rule matches "any
> nonempty substring". But it seems to actually match some subset of that,
> in particular, ones that does not contain spaces.
GNU make does not support files containing whitespace (in fact no POSIX
make does: make defines whitespace to be a separator and does not define
any way to escape whitespace). Some things work, "by accident"; many do
not.