There are special built-in make targets,
.INIT : If defined in the makefile, this target and its dependencies
are built before any other targets are processed.
So, in your makefile you would have :
.INIT :
<Tab><your_command>
There are other spicial rules like
.DONE
.FAILED and so on,
see your man page for details.
Naresh
> To: comp.unix.questions
> I wish to have a certain command executed each time _any_ target
> in my Makefile is run. Is there a way I can do this ?
> TIA
> Scott Daniels
> --
> Posted from femail9.sdc1.sfba.home.com [24.0.95.89]
> via Mailgate.ORG Server - http://www.Mailgate.ORG