On 27.04.2011 18:22, Stephan Beal wrote:
On Wed, Apr 27, 2011 at 5:20 PM, Stephan Beal<[email protected]>wrote:
Then make $(MAKEFILE) a prereq
Sorry, hit send by accident before finishing...
and that should have been (like Oleksander says):
MAKEFILE := $(MAKEFILE_LIST)
the other approach just gets the name of the main makefile whereas this one
also picks up any included makefiles.
Some times I use
BUILD_SCRIPTS += Makefile-name
in all makefiles because some makefile auto generated all times.
--
С уважением, Александр Гавенко.
_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make