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).
19 lines
385 B
Makefile
19 lines
385 B
Makefile
# $NetBSD: continue.mk,v 1.1.1.1 2005/05/15 21:10:16 rillig Exp $
|
|
#
|
|
# This file demonstrates that .for variables that end in a backslash are
|
|
# interpreted as line-continuations when they are placed at the end of a
|
|
# line.
|
|
#
|
|
|
|
LIST= a:\ a:\foo.bar
|
|
|
|
.PHONY: all
|
|
all:
|
|
.for l in ${LIST}
|
|
echo ${l:Q}
|
|
echo "second line"
|
|
.endfor
|
|
.for l in ${LIST}
|
|
echo ${l:Q}""
|
|
echo "second line"
|
|
.endfor
|