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