Monday, August 06, 2007

Gnu-make: "-include"

If you want make to simply ignore a makefile which does not exist and
cannot be remade, with no error message, use the -include directive
instead of include, like this:

-include filenames...

This acts like include in every way except that there is no error (not
even a warning) if any of the filenames do not exist. For compatibility
with some other make implementations, sinclude is another name for
-include.

Blog Archive