2020-12-13 04:01:04 +01:00
|
|
|
hello:
|
2020-12-13 19:28:18 +01:00
|
|
|
echo "Sacrebleu-DNS"
|
2020-12-13 04:01:04 +01:00
|
|
|
|
|
|
|
build:
|
2020-12-13 19:28:18 +01:00
|
|
|
go build -o bin/sacrebleu-dns
|
2020-12-13 04:01:04 +01:00
|
|
|
|
|
|
|
run:
|
|
|
|
go run main.go
|
|
|
|
|
|
|
|
compile:
|
|
|
|
echo "Compiling for every OS and Platform"
|
2020-12-13 19:28:18 +01:00
|
|
|
GOOS=linux GOARCH=arm go build -o bin/sacrebleu-dns-linux-arm main.go
|
|
|
|
GOOS=linux GOARCH=arm64 go build -o bin/sacrebleu-dns-linux-arm64 main.go
|
|
|
|
GOOS=linux GOARCH=amd64 go build -o bin/sacrebleu-dns-linux-arm64 main.go
|
2020-12-13 04:01:04 +01:00
|
|
|
|
|
|
|
all: hello build
|