xref: /freebsd/contrib/bmake/unit-tests/dep-percent.mk (revision 2a58b312b62f908ec92311d1bd8536dbaeb8e55b)
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