From acc83c1fa5f324a924fcc6af91cc6eaf4c3f1a62 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Sat, 19 Aug 2017 21:23:29 +0800 Subject: [PATCH] [ci skip] add comment on Makefile. (#273) Signed-off-by: Bo-Yi Wu --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5f986fb..d952f49 100644 --- a/Makefile +++ b/Makefile @@ -81,12 +81,15 @@ unconvert: fi for PKG in $(PACKAGES); do unconvert -v $$PKG || exit 1; done; -.PHONY: install +# Install from source. install: $(SOURCES) $(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' + @echo "==> Installed gorush ${GOPATH}/bin/gorush" +.PHONY: install -.PHONY: build +# build from source build: $(EXECUTABLE) +.PHONY: build $(EXECUTABLE): $(SOURCES) $(GO) build -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' -o bin/$@