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