wings/Makefile

12 lines
293 B
Makefile
Raw Normal View History

2020-05-17 23:12:42 +00:00
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
2017-06-27 10:42:56 +00:00
2020-05-17 23:12:42 +00:00
compress:
upx --brute build/wings_*
2017-06-27 10:42:56 +00:00
2020-05-17 23:12:42 +00:00
cross-build: clean build compress
2017-06-27 10:42:56 +00:00
2020-05-17 23:12:42 +00:00
clean:
2020-06-19 04:05:00 +00:00
rm -rf build/wings_*
.PHONY: all build compress clean