1 # $NetBSD: suff-rebuild.mk,v 1.2 2020/10/18 16:12:39 rillig Exp $
3 # Demonstrates what happens to transformation rules (called inference rules
4 # by POSIX) when all suffixes are deleted.
6 all: suff-rebuild-example
12 suff-rebuild-example.a:
22 # XXX: At a quick glance, the code in SuffScanTargets looks as if it were
23 # possible to delete the suffixes in the middle of the makefile, add back
24 # the suffixes from before, and have the transformation rules preserved.
26 # As of 2020-09-25, uncommenting the following line results in the error
27 # message "don't know how to make suff-rebuild-example" though.
31 # Add the suffixes back. It should not matter that the order of the suffixes
32 # is different from before.