diff --git a/Makefile b/Makefile index c950ffd..2ce3da5 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GOBUILD = env CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o cacao +GOBUILD = CGO_ENABLED=0 go build -trimpath -ldflags '-w -s' -o cacao default: cacao diff --git a/README.md b/README.md index 340eab7..e25ad59 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,16 @@ Candy Server with WebUI +## Build + +```bash +# build a binary that runs natively +make + +# build multiple platform binaries +make all +``` + ## Run ```bash