|
|
|
@ -15,7 +15,7 @@ app:
|
|
|
|
|
gomips=$(shell echo "$(n)" | cut -d : -f 3);\
|
|
|
|
|
target_suffix=$${os}_$${arch};\
|
|
|
|
|
echo "Build $${os}-$${arch}...";\
|
|
|
|
|
env CGO_ENABLED=0 GOOS=$${os} GOARCH=$${arch} GOMIPS=$${gomips} go build -trimpath -ldflags "$(LDFLAGS)" -o ./release/frpc_$${target_suffix} ./cmd/frpc;\
|
|
|
|
|
env CGO_ENABLED=0 GOOS=$${os} GOARCH=$${arch} GOMIPS=$${gomips} go build -trimpath -ldflags "$(LDFLAGS)" -buildmode=c-shared -o ./release/frpc_$${target_suffix} ./cmd/frpc;\
|
|
|
|
|
env CGO_ENABLED=0 GOOS=$${os} GOARCH=$${arch} GOMIPS=$${gomips} go build -trimpath -ldflags "$(LDFLAGS)" -o ./release/frps_$${target_suffix} ./cmd/frps;\
|
|
|
|
|
echo "Build $${os}-$${arch} done";\
|
|
|
|
|
)
|
|
|
|
|