diff options
author | Mike Crute <mike@crute.us> | 2020-02-13 23:10:20 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-08-11 02:56:10 +0000 |
commit | b8ae70d6328c62fdfa285330126528f76959514b (patch) | |
tree | d23cfcb7669c2cbff932caa89fbe1a40275197a5 | |
parent | a810417e580890028cf725f6a71d43dbc5c02235 (diff) | |
download | go_ddns_manager-b8ae70d6328c62fdfa285330126528f76959514b.tar.bz2 go_ddns_manager-b8ae70d6328c62fdfa285330126528f76959514b.tar.xz go_ddns_manager-b8ae70d6328c62fdfa285330126528f76959514b.zip |
Build static binaries
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,8 @@ | |||
1 | GO_FILES := $(shell find . -name '*.go') | 1 | GO_FILES := $(shell find . -name '*.go') |
2 | 2 | ||
3 | dns-service: main.go $(GO_FILES) | 3 | dns-service: main.go $(GO_FILES) |
4 | go build -o $@ $< | 4 | CGO_ENABLED=0 go build -o $@ $< |
5 | |||
6 | .PHONY: clean | ||
7 | clean: | ||
8 | rm -f dns-service | ||