Next: , Previous: , Up: GNU Automake   [Contents][Index]


17 Include

To include another file (perhaps for common rules), the following syntax is supported:

include ($(srcdir)|$(top_srcdir))/filename

Using files in the current directory:

include $(srcdir)/Makefile.extra
include Makefile.generated

Using a file in the top level directory:

include $(top_srcdir)/filename