This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Plan for single Makefile
> So how about this? Write a Makefile in each subdirectory, that:
> - includes all the dependency and command info from the
> entire project
> - relocates directory paths to make sense from the directory in
> question
> - customizes the phony targets to include only the ones from
> that directory and below
>
> 1a\Makefile would look like:
> ROOT = ..
> include $(ROOT)/Makefile
>
IIRC include is one of the not-as-portable-as-it-could-be make features.
I was aiming to only use the Makefile features used by automake today..
Rob