summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-08-11 02:53:09 +0000
committerMike Crute <mike@crute.us>2020-08-11 02:54:46 +0000
commitd4081ae6b50b5a54c4a47741a22bf63d26a01873 (patch)
treef9aa59439d7abb19a215b6a1f2b2c968d20d7d81 /Makefile
parent45c59b8004f8ce068c551dd7974ff543af59220d (diff)
downloadgo_ddns_manager-d4081ae6b50b5a54c4a47741a22bf63d26a01873.tar.bz2
go_ddns_manager-d4081ae6b50b5a54c4a47741a22bf63d26a01873.tar.xz
go_ddns_manager-d4081ae6b50b5a54c4a47741a22bf63d26a01873.zip
Generate DNS types
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