You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
485 B
Makefile

5 years ago
all:
make windows
make mac
make linux
make clear
5 years ago
windows:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -o gormt.exe main.go
5 years ago
tar czvf gormt_windows.zip gormt.exe config.yml
5 years ago
mac:
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -o gormt main.go
5 years ago
tar czvf gormt_mac.zip gormt config.yml
5 years ago
linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o gormt main.go
5 years ago
tar czvf gormt_linux.zip gormt config.yml
clear:
5 years ago
- rm -rf model/*
- rm -rf err/
- rm gormt
- rm gormt.exe