summary refs log tree commit diff
path: root/bin/hilex.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hilex.c')
-rw-r--r--bin/hilex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hilex.c b/bin/hilex.c
index 6574b1b2..93401d95 100644
--- a/bin/hilex.c
+++ b/bin/hilex.c
@@ -51,7 +51,7 @@ static const struct {
 	const char *linePatt;
 } Lexers[] = {
 	{ &LexC, "c", "[.][chlmy]$", NULL },
-	{ &LexMake, "make", "[.]mk$|^Makefile$", NULL },
+	{ &LexMake, "make", "[.](mk|am)$|^Makefile$", NULL },
 	{ &LexMdoc, "mdoc", "[.][1-9]$", "^[.]Dd" },
 	{ &LexText, "text", "[.]txt$", NULL },
 };