1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#VERBOSE := VERBOSE := -v all: go build $(VERBOSE) .PHONY: docker docker: GOOS=linux go build -a -tags netgo -installsuffix netgo docker build -t $$USER/coredns . .PHONY: deps deps: go get .PHONY: test test: go test .PHONY: clean clean: go clean