wrp/Makefile

29 lines
682 B
Makefile
Raw Normal View History

2019-06-04 08:42:22 +00:00
all: linux freebsd openbsd macos windows rpi
linux:
GOOS=linux GOARCH=amd64 go build -a -o wrp-linux wrp.go
2019-06-06 07:57:53 +00:00
linux-ppc64le:
GOOS=linux GOARCH=ppc64le go build -a -o wrp-linux-ppc64le wrp.go
2019-06-17 07:19:01 +00:00
rpi:
GOOS=linux GOARCH=arm go build -a -o wrp-linux-rpi wrp.go
2019-06-04 08:42:22 +00:00
freebsd:
GOOS=freebsd GOARCH=amd64 go build -a -o wrp-freebsd wrp.go
openbsd:
GOOS=openbsd GOARCH=amd64 go build -a -o wrp-openbsd wrp.go
macos:
GOOS=darwin GOARCH=amd64 go build -a -o wrp-macos wrp.go
windows:
GOOS=windows GOARCH=amd64 go build -a -o wrp-windows.exe wrp.go
clean:
rm -rf wrp-linux wrp-freebsd wrp-openbsd wrp-macos wrp-windows.exe wrp-linux-rpi
2019-08-04 07:51:55 +00:00
docker:
docker build -t tenox7/wrp:latest .