From d5f6a5f2cb1a0774ef5719b9eb733b518736c55f Mon Sep 17 00:00:00 2001 From: mappu Date: Sun, 12 Nov 2017 11:09:52 +1300 Subject: [PATCH] makefile: add separate all / dist targets --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b69d7f2..1aee679 100644 --- a/Makefile +++ b/Makefile @@ -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