updated makefile
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user