Fix: Makefile

This commit is contained in:
Dreamacro 2018-08-12 14:06:50 +08:00
parent 2b87b907ae
commit fc4f119049

View File

@ -2,7 +2,7 @@ NAME=clash
BINDIR=bin BINDIR=bin
GOBUILD=CGO_ENABLED=0 go build -ldflags '-w -s' GOBUILD=CGO_ENABLED=0 go build -ldflags '-w -s'
all: linux macos all: linux macos win64
linux: linux:
GOARCH=amd64 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@ GOARCH=amd64 GOOS=linux $(GOBUILD) -o $(BINDIR)/$(NAME)-$@