makefile: add separate all / dist targets

This commit is contained in:
mappu 2017-11-12 11:09:52 +13:00
parent a17886e300
commit d5f6a5f2cb
1 changed files with 4 additions and 2 deletions

View File

@ -9,9 +9,11 @@ GOFLAGS=-a \
-gcflags "-trimpath ${GOPATH}" \
-asmflags "-trimpath ${GOPATH}"
.PHONY: all deps clean clean-deps
.PHONY: all dist deps clean clean-deps
all: $(BINNAME)-$(VERSION)-win32.7z $(BINNAME)-$(VERSION)-linux64.tar.xz $(BINNAME)-$(VERSION)-src.zip
all: $(BINNAME) $(BINNAME).exe
dist: $(BINNAME)-$(VERSION)-win32.7z $(BINNAME)-$(VERSION)-linux64.tar.xz $(BINNAME)-$(VERSION)-src.zip
deps:
npm i