help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GMAKE 3.81 vs GMAKE 4.2


From: Paul Smith
Subject: Re: GMAKE 3.81 vs GMAKE 4.2
Date: Mon, 21 Oct 2019 12:02:49 -0400

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]