mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-28 22:08:12 +09:00
Add cross-compilation script
This commit is contained in:
22
runtime/syntax/makefile.micro
Normal file
22
runtime/syntax/makefile.micro
Normal file
@@ -0,0 +1,22 @@
|
||||
syntax "Makefile" "([Mm]akefile|\.ma?k)$"
|
||||
header "^#!.*/(env +)?[bg]?make( |$)"
|
||||
|
||||
color cyan "\b(ifeq|ifdef|ifneq|ifndef|else|endif)\b"
|
||||
color cyan "^(export|include|override)\b"
|
||||
color brightmagenta "^[^:= ]+:"
|
||||
color red "[=,%]" "\+=|\?=|:=|&&|\|\|"
|
||||
color brightblue "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
|
||||
color brightblue "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
|
||||
color brightblue "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
|
||||
color brightblue "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
|
||||
color brightblue "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
|
||||
color black "[()$]"
|
||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||
color brightyellow "\$+(\{[^} ]+\}|\([^) ]+\))"
|
||||
color brightyellow "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
|
||||
color magenta "\$\$|\\.?"
|
||||
color brightblack "(^|[[:space:]])#([^{].*)?$"
|
||||
color brightblack "^ @#.*"
|
||||
|
||||
# Show trailing whitespace
|
||||
color ,green "[[:space:]]+$"
|
||||
Reference in New Issue
Block a user