c98f603243
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).
13 lines
266 B
Makefile
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}
|