BINARY_NAME=exploredns BUILD_DIR=bin GO=go GOFLAGS=-v .PHONY: build test lint clean build: $(GO) build $(GOFLAGS) -o $(BUILD_DIR)/$(BINARY_NAME) ./cmd/exploredns test: $(GO) test -v -race -coverprofile=coverage.out ./... lint: $(GO) vet ./... clean: rm -rf $(BUILD_DIR) rm -f coverage.out