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 9 all: issue3 10 11 .SUFFIXES: .a .b .c 12 13 .a .a.b .b.a: 14 : 'Making ${.TARGET} from ${.IMPSRC}.' 15 16 .SUFFIXES: 17 18 issue3.a: 19 : 'There is a bug if you see this.' 20