j S r SSKrSSKJrJrJrJrJrJr SSK J
r
JrJrJ
r
JrJrJrJr SSKJr / SQr " S S\5 r " S S
\5 r " S S\5 rg)
z
pygments.lexers.make
~~~~~~~~~~~~~~~~~~~~
Lexers for Makefiles and similar.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)Lexer
RegexLexerincludebygroups
do_insertionsusing)TextCommentOperatorKeywordNameStringPunctuation
Whitespace) BashLexer)
MakefileLexerBaseMakefileLexer
CMakeLexerc \ rS rSrSrSr/ SQr/ SQrS/rSr Sr
\R " S 5 r
\R " S
5 rS rS rS
rg)r z}
Lexer for BSD and GNU make extensions (lenient enough to handle both in
the same file even).
*Rewritten in Pygments 0.10.*
Makefile)makemakefilemfbsdmake)z*.makz*.mkr r z
Makefile.*GNUmakefileztext/x-makefile-https://en.wikipedia.org/wiki/Make_(software) z^(?:\.\s*(include|undef|error|warning|if|else|elif|endif|for|endfor)|\s*(ifeq|ifneq|ifdef|ifndef|else|endif|-?include|define|endef|:|vpath)|\s*(if|else|endif))(?=\s)z^\s*@?#c # : # / nUR SS9nSn[ S0 U R D6nSnU H nU R R U5 ( d U( aO UR [
U5 S[ R U4/45 UR 5 R S5 nMy U R R U5 ( a&