mirror of
https://github.com/fatedier/frp.git
synced 2024-11-27 20:49:10 +08:00
16 lines
220 B
Makefile
16 lines
220 B
Makefile
|
export PATH := $(GOPATH)/bin:$(PATH)
|
||
|
|
||
|
all: build
|
||
|
|
||
|
build: godep frps frpc
|
||
|
|
||
|
godep:
|
||
|
@go get github.com/tools/godep
|
||
|
godep restore
|
||
|
|
||
|
frps:
|
||
|
godep go build -o bin/frps ./cmd/frps
|
||
|
|
||
|
frpc:
|
||
|
godep go build -o bin/frpc ./cmd/frpc
|