config/sublime/Packages/Makefile/Makefile.tmLanguage
2012-08-01 21:04:05 -07:00

98 lines
2.2 KiB
Makefile

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>fileTypes</key>
<array>
<string>GNUmakefile</string>
<string>makefile</string>
<string>Makefile</string>
<string>OCamlMakefile</string>
<string>make</string>
</array>
<key>name</key>
<string>Makefile</string>
<key>patterns</key>
<array>
<dict>
<key>begin</key>
<string>^(\w|[-_])+\s*\??=</string>
<key>end</key>
<string>$</string>
<key>name</key>
<string>variable.other.makefile</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>\\\n</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>`</string>
<key>end</key>
<string>`</string>
<key>name</key>
<string>string.interpolated.backtick.makefile</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>source.shell</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>#</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>punctuation.definition.comment.makefile</string>
</dict>
</dict>
<key>end</key>
<string>$\n?</string>
<key>name</key>
<string>comment.line.number-sign.makefile</string>
<key>patterns</key>
<array>
<dict>
<key>match</key>
<string>(?&lt;!\\)\\$\n</string>
<key>name</key>
<string>punctuation.separator.continuation.makefile</string>
</dict>
</array>
</dict>
<dict>
<key>match</key>
<string>^(\s*)\b(\-??include|ifeq|ifneq|ifdef|ifndef|else|endif|vpath|export|unexport|define|endef|override)\b</string>
<key>name</key>
<string>keyword.control.makefile</string>
</dict>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>entity.name.function.makefile</string>
</dict>
</dict>
<key>match</key>
<string>^([^\t ]+(\s[^\t ]+)*:(?!\=))\s*.*</string>
<key>name</key>
<string>meta.function.makefile</string>
</dict>
</array>
<key>scopeName</key>
<string>source.makefile</string>
<key>uuid</key>
<string>FF1825E8-6B1C-11D9-B883-000D93589AF6</string>
</dict>
</plist>