Skip to content

Commit

Permalink
Add Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: dusanb <[email protected]>
  • Loading branch information
dusanb committed Oct 13, 2020
1 parent 04c9875 commit 989dc00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
all:
CGO_ENABLED=0 GOOS=linux go build -mod=vendor -ldflags "-s -w" -o build/coap-cli-linux cmd/main.go
CGO_ENABLED=0 GOOS=darwin go build -mod=vendor -ldflags "-s -w" -o build/coap-cli-darwin cmd/main.go
CGO_ENABLED=0 GOOS=windows go build -mod=vendor -ldflags "-s -w" -o build/coap-cli-windows cmd/main.go

0 comments on commit 989dc00

Please sign in to comment.