add PHONY

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-06-05 10:45:38 +08:00
parent 6075d30a54
commit 8ba68d0de0
No known key found for this signature in database
GPG Key ID: 0F84B2110C500B1F
1 changed files with 1 additions and 0 deletions

View File

@ -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; \