aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fb14198..9d31202 100644
--- a/Makefile
+++ b/Makefile
@@ -3,3 +3,10 @@ build-client:
build-server:
go build -o mobius-hotline-server server/main.go
+
+windows_amd64_target=dist/mobius_server_windows_amd64
+build-win-amd64-server:
+ mkdir $(windows_amd64_target) ; true
+ cp -r cmd/mobius-hotline-server/mobius/config $(windows_amd64_target)
+ GOOS=windows GOARCH=amd64 go build -o $(windows_amd64_target)/mobius-hotline-server.exe cmd/mobius-hotline-server/main.go
+ zip -r dist/mobius_server_windows_amd64.zip $(windows_amd64_target) \ No newline at end of file