[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Plan for single Makefile

From: Robert Collins
Subject: Re: Plan for single Makefile
Date: 29 Jul 2001 00:57:40 +1000

> 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..


reply via email to

[Prev in Thread] Current Thread [Next in Thread]