makefile: add separate all / dist targets

This commit is contained in:
mappu 2017-11-12 11:09:52 +13:00
parent a17886e300
commit d5f6a5f2cb

View File

@ -9,9 +9,11 @@ GOFLAGS=-a \
-gcflags "-trimpath ${GOPATH}" \ -gcflags "-trimpath ${GOPATH}" \
-asmflags "-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: deps:
npm i npm i