Repos / shark / 9677dcfe40
commit 9677dcfe40030c380fca2cf239947e89b0cea62c
Author: raa0121 <raa0121@gmail.com>
Date: Tue Jul 5 15:38:42 2022 +0900
Makefile: add ldflags for Windows
diff --git a/Makefile b/Makefile
index ddeb7ee..695faba 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ linux:
GOOS=linux GOARCH=amd64 go build -tags ebitensinglethread -o dist/shark-linux
windows:
- GOOS=windows GOARCH=amd64 go build -tags ebitensinglethread -o dist/shark-windows.exe
+ GOOS=windows GOARCH=amd64 go build -tags ebitensinglethread -o dist/shark-windows.exe -ldflags -H=windowsgui
macos:
GOOS=darwin GOARCH=amd64 go build -tags ebitensinglethread -o dist/shark-macos