diff --git a/Makefile b/Makefile index f38a26ed3aa63..f94fd2a5e34b5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,12 @@ DIST := dist -EXECUTABLE := gitea IMPORT := code.gitea.io/gitea +ifeq ($(OS), Windows_NT) + EXECUTABLE := gitea.exe +else + EXECUTABLE := gitea +endif + BINDATA := modules/{options,public,templates}/bindata.go STYLESHEETS := $(wildcard public/less/index.less public/less/_*.less) JAVASCRIPTS :=