blob: 9a3b4d9e81c9b74d0513b12e6cf8c24aca62a65a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# $NetBSD: deptgt-interrupt.mk,v 1.4 2022/01/22 21:50:41 rillig Exp $
#
# Tests for the special target .INTERRUPT in dependency declarations, which
# collects commands to be run when make is interrupted while building another
# target.
all:
@kill -INT ${.MAKE.PID}
.INTERRUPT:
@echo 'Ctrl-C'
|