makefile: add separate all / dist targets
This commit is contained in:
parent
a17886e300
commit
d5f6a5f2cb
6
Makefile
6
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user