2020-08-16 23:13:10 +03:00
|
|
|
# $NetBSD: varmod-order-reverse.mk,v 1.3 2020/08/16 20:13:10 rillig Exp $
|
2020-08-16 15:07:50 +03:00
|
|
|
#
|
2020-08-16 17:25:16 +03:00
|
|
|
# Tests for the :Or variable modifier, which returns the words, sorted in
|
|
|
|
# descending order.
|
2020-08-16 15:07:50 +03:00
|
|
|
|
2020-08-16 23:13:10 +03:00
|
|
|
NUMBERS= one two three four five six seven eight nine ten
|
|
|
|
|
|
|
|
.if ${NUMBERS:Or} != "two three ten six seven one nine four five eight"
|
|
|
|
.error ${NUMBERS:Or}
|
|
|
|
.endif
|
2020-08-16 15:07:50 +03:00
|
|
|
|
|
|
|
all:
|
|
|
|
@:;
|