* makefile.syntax: Added rules for BSD style Makefiles.

This commit is contained in:
Roland Illig 2005-06-05 23:48:57 +00:00
parent bb23db86a7
commit c9fa68695e
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-06-06 Roland Illig <roland.illig@gmx.de>
* makefile.syntax: Added rules for BSD style Makefiles.
2005-05-24 Roland Illig <roland.illig@gmx.de>
* python.syntax: Added chunk from Savannah bug #7872. This

View File

@ -2,6 +2,7 @@ context default
keyword $$ brightcyan
keyword $(*) yellow
keyword ${*} brightgreen
# GNU Makefiles
keyword whole linestart define magenta
keyword whole linestart endef magenta
keyword whole linestart include magenta
@ -12,6 +13,16 @@ context default
keyword whole linestart ifeq magenta
keyword whole linestart ifneq magenta
keyword whole linestart else magenta
# BSD Makefiles
keyword whole linestart .\[\s\t\]elif magenta
keyword whole linestart .\[\s\t\]else magenta
keyword whole linestart .\[\s\t\]endfor magenta
keyword whole linestart .\[\s\t\]endif magenta
keyword whole linestart .\[\s\t\]for magenta
keyword whole linestart .\[\s\t\]if magenta
keyword whole linestart .\[\s\t\]include magenta
keyword whole linestart .\[\s\t\]undef magenta
keyword linestart \t lightgray red
keyword whole .PHONY white
keyword whole .NOEXPORT white