make(1): enable suffix log for test suff-add-later.mk

The log shows that only some of the transformations are actually
defined.
This commit is contained in:
rillig 2020-10-21 08:18:24 +00:00
parent 2df52c069f
commit 04b3e5451c
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
defining transformation from `.c' to `.d'
inserting ".c" (1) at end of list
inserting ".d" (2) at end of list
defining transformation from `.d' to `.e'
inserting ".d" (2) at end of list
inserting ".e" (3) at end of list
: 'Making issue5a.c out of nothing.'
make: don't know how to make issue5a.d (continuing)
make: don't know how to make issue5b.c (continuing)

View File

@ -1,8 +1,10 @@
# $NetBSD: suff-add-later.mk,v 1.1 2020/10/20 20:36:53 rillig Exp $
# $NetBSD: suff-add-later.mk,v 1.2 2020/10/21 08:18:24 rillig Exp $
#
# https://gnats.netbsd.org/49086, issue 5:
# Adding more suffixes does not turn existing rules into suffix rules.
.MAKEFLAGS: -ds
all: issue5a.d issue5b.c issue5c issue5d.e issue5e.d
.SUFFIXES: .c
@ -29,3 +31,4 @@ issue5a.c issue5b.d issue5c.d issue5d.d issue5e.e:
# XXX: don't know how to make issue5a.d (even though .c.d is a transformation
# rule and issue5a.c can be readily made)
#.MAKEFLAGS: -dg1
.MAKEFLAGS: -d0