summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2020-02-13 23:10:20 +0000
committerMike Crute <mike@crute.us>2020-08-11 02:56:10 +0000
commitb8ae70d6328c62fdfa285330126528f76959514b (patch)
treed23cfcb7669c2cbff932caa89fbe1a40275197a5
parenta810417e580890028cf725f6a71d43dbc5c02235 (diff)
downloadgo_ddns_manager-b8ae70d6328c62fdfa285330126528f76959514b.tar.bz2
go_ddns_manager-b8ae70d6328c62fdfa285330126528f76959514b.tar.xz
go_ddns_manager-b8ae70d6328c62fdfa285330126528f76959514b.zip
Build static binaries
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0ea2c0d..c174da7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
1GO_FILES := $(shell find . -name '*.go') 1GO_FILES := $(shell find . -name '*.go')
2 2
3dns-service: main.go $(GO_FILES) 3dns-service: main.go $(GO_FILES)
4 go build -o $@ $< 4 CGO_ENABLED=0 go build -o $@ $<
5
6.PHONY: clean
7clean:
8 rm -f dns-service