xref: /freebsd/contrib/bmake/unit-tests/suff-clear-single.mk (revision 956e45f6fb3e18b8e89b1341708db60c30bb9f27)
1# $NetBSD: suff-clear-single.mk,v 1.1 2020/10/20 20:36:53 rillig Exp $
2#
3# https://gnats.netbsd.org/49086, issue 3:
4# Single suffix rules remain active after .SUFFIXES is cleared.
5#
6# There's a rule for issue3.a, but .a is no longer a known suffix when
7# targets are being made, so issue3 should not get made.
8
9all: issue3
10
11.SUFFIXES: .a .b .c
12
13.a .a.b .b.a:
14	: 'Making ${.TARGET} from ${.IMPSRC}.'
15
16.SUFFIXES:
17
18issue3.a:
19	: 'There is a bug if you see this.'
20