2016-08-25 03:15:36 +03:00
|
|
|
syntax "makefile" "([Mm]akefile|\.ma?k)$"
|
2016-03-21 19:16:02 +03:00
|
|
|
header "^#!.*/(env +)?[bg]?make( |$)"
|
|
|
|
|
2016-05-19 14:26:10 +03:00
|
|
|
color preproc "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
|
|
|
|
color statement "^(export|include|override)\>"
|
|
|
|
color operator "^[^:= ]+:"
|
|
|
|
color operator "[=,%]" "\+=|\?=|:=|&&|\|\|"
|
|
|
|
color statement "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
|
|
|
|
color statement "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
|
|
|
|
color statement "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
|
|
|
|
color statement "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
|
|
|
|
color statement "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
|
|
|
|
color identifier "^.+:"
|
|
|
|
color identifier "[()$]"
|
|
|
|
color constant ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
|
|
color identifier "\$+(\{[^} ]+\}|\([^) ]+\))"
|
|
|
|
color identifier "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
|
|
|
|
color identifier "\$\$|\\.?"
|
|
|
|
color comment "(^|[[:space:]])#([^{].*)?$"
|
|
|
|
color comment "^ @#.*"
|