From b83b93ddb9fbbb13ea159659ea476d5ea4fe2030 Mon Sep 17 00:00:00 2001 From: Pin Date: Mon, 30 May 2022 14:42:14 -0400 Subject: [PATCH] updated makefile --- client/golang/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/client/golang/Makefile b/client/golang/Makefile index 73970f7..b9496be 100644 --- a/client/golang/Makefile +++ b/client/golang/Makefile @@ -1,2 +1,8 @@ +OUTPUT_BIN = PROG + build: - go build -ldflags="-s -w" -o saprus client.go + go build -ldflags="-s -w" -o ${OUTPUT_BIN:PROG=saprus} client.go + +install: + mv ${OUTPUT_BIN:PROG=saprus} /usr/sbin/${OUTPUT_BIN:PROG=saprus} +