On Tue, May 20, 2008 at 4:10 PM, Peng Yu <[EMAIL PROTECTED]> wrote: > I want to include a file only if it is existed. Is there something in gmake > that can do this?
If you mean "include" as in "make part of the build" then the $(wildcard) function may do the trick. If you mean 'include' in the "treat as additional Makefile contents", then the answer is yes, and it is described on the same page in the GNU make info manual as the normal "include" directive. Philip Guenther _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
