On Mon, 2019-10-21 at 21:26 +0530, nikhil jain wrote: > I handle SIGINT (ctrl+c) like this in the makefile - > > trap 'USER_INT=1; /bin/echo "terminating, please wait...."' INT;
That is not valid makefile syntax. If you put that directly into a makefile, by itself, you'll get a syntax error: $ cat Makefile trap 'USER_INT=1; /bin/echo "terminating, please wait...."' INT; $ make Makefile:1: *** missing separator. Stop. Please provide the full context of what you're doing otherwise we can't help. _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make