1 # $NetBSD: varmod-order.mk,v 1.3 2020/08/16 20:13:10 rillig Exp $ 2 # 3 # Tests for the :O variable modifier, which returns the words, sorted in 4 # ascending order. 5 6 NUMBERS= one two three four five six seven eight nine ten 7 8 .if ${NUMBERS:O} != "eight five four nine one seven six ten three two" 9 .error ${NUMBERS:O} 10 .endif 11 12 all: 13 @:; 14