pkgsrc/regress/make-quoting/files/ltarget.mk
rillig c98f603243 Imported make-quoting, a regression test to make sure various weird quoting
styles stay valid when updating the pkgsrc make(1) program. The test cases
also serve as kind of demonstration how things work inside make(1).
2005-05-15 21:10:16 +00:00

13 lines
266 B
Makefile

# $NetBSD: ltarget.mk,v 1.1.1.1 2005/05/15 21:10:16 rillig Exp $
#
# This file demonstrates that the ${.TARGET} variable must be quoted when
# the target is specified directly.
#
# See also vtarget.
#
all: foo`date`
.PHONY: foo`date`
foo`date`:
echo ${.TARGET:Q}