Skip to content

Commit

Permalink
add : makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
GitTsewell committed Jan 16, 2024
1 parent 31c2de2 commit 5e8497c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
build:

This comment has been minimized.

Copy link
@LwkkyLDdubz
go build ./main.go
build-arm64:
GOARCH=arm64 GOOS=darwin go build -o zkproof_darwin_arm64 ./main.go

build-amd64:
GOARCH=amd64 GOOS=darwin go build -o zkproof_darwin_amd64 ./main.go

build-linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build ./main.go
GOARCH=amd64 GOOS=linux go build -o zkproof_linux_amd64 ./main.go

build-windows:
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build ./main.go
GOARCH=amd64 GOOS=windows go build -o zkproof_windows_amd64.exe ./main.go

1 comment on commit 5e8497c

@zaw2890
Copy link

@zaw2890 zaw2890 commented on 5e8497c Oct 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

****

Please sign in to comment.