mirror of https://github.com/fatedier/frp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
339 B
13 lines
339 B
export PATH := $(GOPATH)/bin:$(PATH) |
|
export OLDGOPATH := $(GOPATH) |
|
export GOPATH := $(shell pwd)/Godeps/_workspace:$(shell pwd):$(GOPATH) |
|
|
|
all: build |
|
|
|
build: gox app |
|
|
|
gox: |
|
GOPATH=$(OLDGOPATH) go get github.com/mitchellh/gox |
|
|
|
app: |
|
gox -osarch "darwin/386 darwin/amd64 linux/386 linux/amd64 linux/arm windows/386 windows/amd64" ./src/...
|
|
|