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. I am
not familiar with the -M option. It is certainly not necessary here.
ALL_MAKEFILES := Makefile include.mk
target: prerequisites $(ALL_MAKEFILES)
commands
Ken
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make