automake
[Top][All Lists]
Advanced

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

RE: Dependency to update Makefile


From: Raj (Basavaraj) Karadakal
Subject: RE: Dependency to update Makefile
Date: Mon, 23 Apr 2001 15:07:32 -0400

I am using clearmake in gnu compatibility mode.

Thanks
Raj

-----Original Message-----
From: Tom Tromey [mailto:address@hidden]
Sent: Monday, April 23, 2001 2:46 PM
To: Raj (Basavaraj) Karadakal
Cc: 'address@hidden'
Subject: Re: Dependency to update Makefile


>>>>> "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]