wings/Makefile
2020-05-17 16:12:42 -07:00

10 lines
259 B
Makefile

build:
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -gcflags "all=-trimpath=/Users/dane/Sites/development/code" -o build/wings_linux_amd64 -v wings.go
compress:
upx --brute build/wings_*
cross-build: clean build compress
clean:
rm -rf build/wings_*