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