I'm wondering if there's a way to implement trap in GNU make, similar to that built into BASH?
trap
make
BASH
If the user presses CTRL-C, or if make itself fails (non-zero exit), I'd like to call a particular target or macro.
CTRL-C