1 syntax "makefile" "([Mm]akefile|\.ma?k)$"
2 header "^#!.*/(env +)?[bg]?make( |$)"
4 color preproc "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
5 color statement "^(export|include|override)\>"
6 color operator "^[^:= ]+:"
7 color operator "[=,%]" "\+=|\?=|:=|&&|\|\|"
8 color statement "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
9 color statement "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
10 color statement "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
11 color statement "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
12 color statement "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
13 color identifier "^.+:"
14 color identifier "[()$]"
15 color constant ""(\\.|[^"])*"|'(\\.|[^'])*'"
16 color identifier "\$+(\{[^} ]+\}|\([^) ]+\))"
17 color identifier "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
18 color identifier "\$\$|\\.?"
19 color comment "(^|[[:space:]])#([^{].*)?$"
20 color comment "^ @#.*"