[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where the usage of $(CPP_FILES:.cpp=.d) is documented?
From: |
Sam Ravnborg |
Subject: |
Re: Where the usage of $(CPP_FILES:.cpp=.d) is documented? |
Date: |
Fri, 11 Jun 2010 23:58:43 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Fri, Jun 11, 2010 at 03:48:10PM -0500, Peng Yu wrote:
> Hello,
>
> By the test that I run, I think that $(CPP_FILES:.cpp=.d) is
> equivalent to $(patsubst %.cpp,%.d,$(CPP_FILES)). But I don't find
> where it is documented. Would you please point me where the document
> is?
patsubst is documented here:
http://www.gnu.org/software/make/manual/make.html#Text-Functions
And in the same chapter look for the documentation
of "Substitution References" which covers the use of $(VAR:x=y)
Sam