No empty .Rs/.Re
[netbsd-mini2440.git] / tests / util / make / d_modmatch.mk
blob4ada35e35fd692d594793ecfac02cce91edb31cd
2 X=a b c d e
4 .for x in $X
5 LIB${x:tu}=/tmp/lib$x.a
6 .endfor
8 X_LIBS= ${LIBA} ${LIBD} ${LIBE}
10 LIB?=a
12 all:
13 @for x in $X; do ${.MAKE} -f ${MAKEFILE} show LIB=$$x; done
15 show:
16 @echo 'LIB=${LIB} X_LIBS:M$${LIB$${LIB:tu}} is "${X_LIBS:M${LIB${LIB:tu}}}"'
17 @echo 'LIB=${LIB} X_LIBS:M*/lib$${LIB}.a is "${X_LIBS:M*/lib${LIB}.a}"'
18 @echo 'LIB=${LIB} X_LIBS:M*/lib$${LIB}.a:tu is "${X_LIBS:M*/lib${LIB}.a:tu}"'