OT: how to get make to run a script before each build

Steve Franks stevefranks at ieee.org
Wed Mar 12 00:15:52 UTC 2008


I'd like to keep track of how many times I've run make for a given
source.  I'm sure someone knows how to get make to run a script before
doing anything else, but using the regular build rules (aka. only if a
source file has changed).  Of course typing any permutation of this
question into google gives me 10^life of universe in microseconds
hits.

Thanks,
Steve


More information about the freebsd-questions mailing list