wrp/Makefile

18 lines
514 B
Makefile
Raw Normal View History

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