xref: /freebsd/contrib/bmake/unit-tests/dep-percent.mk (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# $NetBSD: dep-percent.mk,v 1.1 2020/10/23 19:54:35 rillig Exp $
2#
3# Test for transformation rules of the form '%.o: %.c', which are supported
4# by GNU make but not this make.
5
6.SUFFIXES: .c .o
7
8all: dep-percent.o
9
10%.o: %.c
11	: 'Making ${.TARGET} from ${.IMPSRC} or ${.ALLSRC}.'
12
13dep-percent.c:
14	: 'Making ${.TARGET} out of nothing.'
15