From d16e41de5e2daadd4676461981b4cda39376357b Mon Sep 17 00:00:00 2001 From: Ikramullah Date: Fri, 16 Aug 2024 11:00:16 +0700 Subject: [PATCH] feat(makefile): create general makefile for development --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e4bf92f..299e0ca 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -os-archs=darwin:amd64 darwin:arm64 freebsd:amd64 linux:amd64 linux:arm:7 linux:arm:5 linux:arm64 windows:amd64 windows:arm64 linux:mips64 linux:mips64le linux:mips:softfloat linux:mipsle:softfloat linux:riscv64 android:arm64 - restore: go get -C ./cmd/mdrop-client go get -C ./cmd/mdrop-tunnel-tools @@ -11,3 +9,8 @@ build-client: restore build-tunnel: restore go build -C ./cmd/mdrop-tunnel-tools -ldflags="-linkmode external -extldflags -static -w -s" -o "../../mdrop-tunnel" +build-client-general: restore + go build -C ./cmd/mdrop-client -ldflags="-extldflags -static -w -s" -o "../../mdrop" + +build-tunnel-general: restore + go build -C ./cmd/mdrop-tunnel-tools -ldflags="-extldflags -static -w -s" -o "../../mdrop-tunnel"