diff options
Diffstat (limited to 'Makefile')
-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 | ||