diff options
author | Mike Crute <mike@crute.us> | 2020-08-11 02:53:09 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-08-11 02:54:46 +0000 |
commit | d4081ae6b50b5a54c4a47741a22bf63d26a01873 (patch) | |
tree | f9aa59439d7abb19a215b6a1f2b2c968d20d7d81 /Makefile | |
parent | 45c59b8004f8ce068c551dd7974ff543af59220d (diff) | |
download | go_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-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,8 +1,9 @@ | |||
1 | GO_FILES := $(shell find . -name '*.go') | 1 | .PHONY: dns-service |
2 | 2 | dns-service: | |
3 | dns-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 |
7 | clean: | 7 | clean: |
8 | rm -f dns-service | 8 | rm -f dns-service |
9 | find . -name 'zzz_*.go' -delete | ||