2014-05-17 00:21:34 +04:00
|
|
|
## Here is an example for Makefiles.
|
2009-11-28 07:11:04 +03:00
|
|
|
|
2018-02-07 13:25:46 +03:00
|
|
|
syntax makefile "Makefile[^/]*$" "\.(make|mk)$"
|
2017-11-19 13:10:53 +03:00
|
|
|
magic "makefile script"
|
2016-05-25 23:13:50 +03:00
|
|
|
comment "#"
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2009-11-28 07:11:04 +03:00
|
|
|
color red "[:=]"
|
|
|
|
color magenta "\<(if|ifeq|else|endif)\>"
|
2009-12-04 06:46:04 +03:00
|
|
|
color blue "\$+[{(][a-zA-Z0-9_-]+[})]"
|
2009-11-28 07:11:04 +03:00
|
|
|
color brightblue "^[^ ]+:"
|
2017-05-09 18:37:05 +03:00
|
|
|
color green "(^|[[:space:]]+)#.*"
|
2014-05-17 00:21:34 +04:00
|
|
|
|
2014-02-27 01:42:53 +04:00
|
|
|
## Trailing whitespace.
|
|
|
|
color ,green "[[:space:]]+$"
|