2023-09-21 22:55:38 +02:00
|
|
|
.PHONY: all bin
|
|
|
|
|
|
|
|
|
|
|
|
all:
|
|
|
|
OS=linux ARCH=amd64 make bin
|
|
|
|
OS=darwin ARCH=amd64 make bin
|
2023-09-21 23:08:42 +02:00
|
|
|
7z a ambrowse.zip *.bin README.md
|
2023-09-21 22:55:38 +02:00
|
|
|
|
|
|
|
bin: ambrowse.go go.mod
|
|
|
|
GOOS="$(OS)" GOARCH="$(ARCH)" CGO_ENABLED=0 go build -o "ambrowse-$(OS)-$(ARCH).bin" -ldflags '-s -w'
|
|
|
|
|