It doesn't say that the
Makefile2
is not found, it says that include
is not found. Everything indented with a tab is a shell command (except for $(...)
substitutions in it), while include
is not a shell command, it's a makefile directive. It has to be outside of the recipe.