GO=go
GOLDFLAGS=-v -s -w
GOBUILDFLAGS=-v -p $(shell nproc) -ldflags="$(GOLDFLAGS)"

.PHONY: build test

build :
	$(GO) build $(GOBUILDFLAGS) -o build/dnsupdater cmd/dnsupdater/main.go

test :
	$(GO) test -v ./...