automake
[Top][All Lists]
Advanced

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

Re: Dependency to update Makefile


From: Tom Tromey
Subject: Re: Dependency to update Makefile
Date: 23 Apr 2001 12:45:33 -0600

>>>>> "Raj" == Raj (Basavaraj) Karadakal <address@hidden> writes:

Raj> I am trying to use Automake in a project. I found a dependency
Raj> problem in the generated Makefile. If I change Makefile.am , the
Raj> dependency rules in the Makefile to update itself, will not be
Raj> executed before the target rules.  The result is if I change
Raj> Makefile.am, the Makefile get updated after the target gets
Raj> updated, so the target built first time after changing
Raj> Makefile.am is not right.  Ideally the Makefile should get
Raj> updated before the target rules are run. Is there a way to force
Raj> this? Or is there any fix for this.

Are you using GNU make?  With GNU make this should work correctly.

We only advertise the automatic rebuilding rules as working properly
with GNU make.  With a vendor make, they probably won't work
correctly.

Tom



reply via email to

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