From 8ba68d0de0d14f5f9ae396db8649360f6fc01709 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 5 Jun 2017 10:45:38 +0800 Subject: [PATCH] add PHONY Signed-off-by: Bo-Yi Wu --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 074da4d..c63c1e0 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,7 @@ build: $(EXECUTABLE) $(EXECUTABLE): $(SOURCES) go build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o bin/$@ +.PHONY: misspell-check misspell-check: @hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ go get -u github.com/client9/misspell/cmd/misspell; \