summaryrefslogtreecommitdiff
path: root/rules/way-prelims.mk
blob: 9df9a5bc6986638a6edaf0a440cdf56f6afd50a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

define way-prelims # $1 = way
ifeq "$1" "v"
$1__way  =
$1_way_  =
else
$1__way  = _$1
$1_way_  = $1_
endif
$1_osuf   = $$($1_way_)o
$1_hisuf  = $$($1_way_)hi
$1_hcsuf  = $$($1_way_)hc
endef