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