summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c174da7..37c5199 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
1GO_FILES := $(shell find . -name '*.go') 1.PHONY: dns-service
2 2dns-service:
3dns-service: main.go $(GO_FILES) 3 go generate ./...
4 CGO_ENABLED=0 go build -o $@ $< 4 CGO_ENABLED=0 go build -o $@ $<
5 5
6.PHONY: clean 6.PHONY: clean
7clean: 7clean:
8 rm -f dns-service 8 rm -f dns-service
9 find . -name 'zzz_*.go' -delete