mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
14 lines
339 B
Makefile
14 lines
339 B
Makefile
export PATH := $(GOPATH)/bin:$(PATH)
|
|
export OLDGOPATH := $(GOPATH)
|
|
export GOPATH := $(shell pwd)/Godeps/_workspace:$(shell pwd):$(GOPATH)
|
|
|
|
all: build
|
|
|
|
build: godep app
|
|
|
|
godep:
|
|
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" ./...
|