1 2 3 4 5 6 7 8 9 10 11 12 13
B ?= .if ${B:C/[0-9]//} A=0 .elif ${B} == 0 A=1 .elif ${B} > 1 A=2 .else A=3 .endif all: @echo ${A}