help-make
[Top][All Lists]
Advanced

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

how does make respond to ctrl-c?


From: Martin d'Anjou
Subject: how does make respond to ctrl-c?
Date: Mon, 2 Feb 2009 10:57:55 -0500 (EST)
User-agent: Alpine 1.00 (LRH 882 2007-12-20)

Hi,

Given this makefile:

all:
        sleep 30 && echo ok || echo not ok


If I hit control-c before the sleep is done, how come "not ok" is not printed to the screen?

I just want to understand how make propagages ctrl-c to commands.

Martin




reply via email to

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