Re: Automatically rebuild everything when the makefile changes

Bob Friesenhahn <[email protected]> Fri, 3 Apr 2026 13:42:45 -0500
Newsgroups gmane.comp.sysutils.automake.general
Message-ID <[email protected]>
On 4/3/26 11:35, Jan Engelhardt wrote:
> That would actually be considered a feature (more so of /usr/bin/make
> than automake).
>
> Make's rebuild decisions depend on whether *prerequisites* are newer
> than targets; *variables* are not part of that dependency graph. In
> other words,

It should be possible to cause make to respond to a change in 
"variables" if the current variables are saved to an intermediate file 
(only updated if the values have changed), which the targets depending 
on those variables also depend on.  Normal projects do not do that.

Bob