updated makefile

This commit is contained in:
Pin
2022-05-30 14:42:14 -04:00
parent 6923d4048f
commit b83b93ddb9

View File

@@ -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}