diff --git a/Makefile b/Makefile index 4dce13e..afcfb4e 100644 --- a/Makefile +++ b/Makefile @@ -8,5 +8,14 @@ usrinstall: build install: build install -Dt /usr/local/bin -m 755 ./build/grave +release: + GOOS=windows GOARCH=amd64 go build -o ./build/grave.exe ./cmd/main.go + GOOS=windows GOARCH=386 go build -o ./build/grave-x86.exe ./cmd/main.go + GOOS=darwin GOARCH=amd64 go build -o ./build/grave.darwin ./cmd/main.go + GOOS=darwin GOARCH=arm64 go build -o ./build/grave-arm64.darwin ./cmd/main.go + GOOS=linux GOARCH=amd64 go build -o ./build/grave ./cmd/main.go + GOOS=linux GOARCH=arm64 go build -o ./build/grave-arm64 ./cmd/main.go + GOOS=linux GOARCH=386 go build -o ./build/grave-x86 ./cmd/main.go + clean: rm -rf ./build/