mirror of https://github.com/fatedier/frp.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
353 B
Makefile
16 lines
353 B
Makefile
export PATH := $(GOPATH)/bin:$(PATH)
|
|
export OLDGOPATH := $(GOPATH)
|
|
export GOPATH := $(shell pwd)/Godeps/_workspace:$(shell pwd):$(GOPATH)
|
|
export OS_TARGETS=linux windows
|
|
export ARCH_TARGETS=386 amd64
|
|
|
|
all: build
|
|
|
|
build: godep app
|
|
|
|
godep:
|
|
GOPATH=$(OLDGOPATH) go get github.com/mitchellh/gox
|
|
|
|
app:
|
|
gox -os "$(OS_TARGETS)" -arch="$(ARCH_TARGETS)" ./...
|