----- Original Message -----
From: "Ken Smith" <[EMAIL PROTECTED]>
To: "Angel Tsankov" <[EMAIL PROTECTED]>
Cc: "ML: make-help" <[email protected]>
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
[EMAIL PROTECTED]
The 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
[EMAIL PROTECTED]
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make