freebsd-src/unit-tests/suff-clear-single.mk
Simon J. Gerraty 302da1a3d3 Import bmake-20201101
Lots of new unit-tests increase code coverage.

Lots of refactoring, cleanup and simlpification to reduce
code size.

Fixes for Bug 223564 and 245807

Updates to dirdeps.mk and meta2deps.py
2020-11-07 19:39:21 +00:00

20 lines
459 B
Makefile

# $NetBSD: suff-clear-single.mk,v 1.1 2020/10/20 20:36:53 rillig Exp $
#
# https://gnats.netbsd.org/49086, issue 3:
# Single suffix rules remain active after .SUFFIXES is cleared.
#
# There's a rule for issue3.a, but .a is no longer a known suffix when
# targets are being made, so issue3 should not get made.
all: issue3
.SUFFIXES: .a .b .c
.a .a.b .b.a:
: 'Making ${.TARGET} from ${.IMPSRC}.'
.SUFFIXES:
issue3.a:
: 'There is a bug if you see this.'