My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## my own

#syntax "makefile" "(m|M)akefile$" "\.mak$"
#icolor yellow start="^[[:space:]]*[.0-9A-Z_]" end="\=[[:space:]]|\:|\:\:|\/"
#color brightgreen "((C|CXX|LD)FLAGS)|LIBADD|LIBS|include"
#icolor cyan start="\{" end="\}"
#icolor cyan start="\(" end="\)"
#color brightyellow "\$"
#color green "#.*$"

## taken form http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting

#syntax "makefile" "^Makefile\.?"
#color red "[:=]"
#color magenta "\<(if|ifeq|else|endif)\>"
#color blue "\$\{.*}"
#color brightblue "\w+:"
#color green "#.*$"

## two of the above compiled
syntax "makefile" "(m|M)akefile$" "\.mak$"
#icolor yellow start="^[[:space:]]*[.0-9A-Z_]" end="\=[[:space:]]|\:|\:\:|\/"
color brightgreen "((C|CXX|LD)FLAGS)|LIBADD|LIBS|include"
icolor cyan start="\{" end="\}"
icolor cyan start="\(" end="\)"
color brightyellow "\$"
color green "#.*$"

color red "[:=]"
color magenta "\<(if|ifeq|else|endif)\>"
color blue "\$\{.*}"
color brightblue "\w+:"
color green "#.*$"

Change log

r2 by Lucractius on Oct 2, 2008   Diff
First Import of syntax files
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 980 bytes, 33 lines
Powered by Google Project Hosting