From b762567a9c917d9f016d753f067441a74557669d Mon Sep 17 00:00:00 2001 From: Baraa Basata Date: Wed, 23 Jul 2025 12:06:58 -0400 Subject: [PATCH] compiler: detect GNUmakefile From make(1): If no -f option is present, make will look for the makefiles GNUmakefile, makefile, and Makefile, in that order. --- compiler/go.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/go.vim b/compiler/go.vim index 0bd6a154d6..e7a8db9aeb 100644 --- a/compiler/go.vim +++ b/compiler/go.vim @@ -19,7 +19,7 @@ endif let s:save_cpo = &cpo set cpo-=C -if filereadable("makefile") || filereadable("Makefile") +if filereadable("GNUmakefile") || filereadable("makefile") || filereadable("Makefile") CompilerSet makeprg=make else CompilerSet makeprg=go\ build