|
From: | Angel Tsankov |
Subject: | Re: Can changes in a makefile trigger a rebuild? |
Date: | Wed, 24 Aug 2005 22:49:11 +0300 |
----- Original Message ----- From: "Ken Smith" <address@hidden>
To: "Angel Tsankov" <address@hidden> Cc: "ML: make-help" <address@hidden> Sent: Friday, August 19, 2005 5:03 PM Subject: Re: Can changes in a makefile trigger a rebuild?
On Fri, Aug 19, 2005 at 10:00:55AM +0300, Angel Tsankov wrote:Can a makefile decide to rebuild a project if it (the makefile) has changed since the latest build? Note, this would probably require make to have a -M option so that included makefiles are also taken into account. Angel Tsankov address@hiddenThe way to do this is to have the targets depend on the makefiles.
You are damn right! I should have thought of this:(
I am not familiar with the -M option.
The -M options prints out a rule that says that the input file depends on all the included files. You can have a look at chapter 4.14 in the GNU Make manual for more information about it.
Regards, Angel Tsankov address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |