Next: Conditionals, Previous: Miscellaneous Rules, Up: GNU Automake [Contents][Index]
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