diff --git a/Makefile b/Makefile index 8a27365aa96..6304508fb14 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,9 @@ endif ifeq ($(OS), Windows_NT) GOFLAGS := -v -buildmode=exe EXECUTABLE ?= gitea.exe +else ifeq ($(OS), Windows) + GOFLAGS := -v -buildmode=exe + EXECUTABLE ?= gitea.exe else GOFLAGS := -v EXECUTABLE ?= gitea