Initial commit
This commit is contained in:
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env gmake -f
|
||||
|
||||
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath
|
||||
FILELIST=main.go types.go util.go
|
||||
|
||||
BINARY=reniced
|
||||
|
||||
all: clean build
|
||||
|
||||
build:
|
||||
go build ${BUILDOPTS} -o ${BINARY} ${FILELIST}
|
||||
|
||||
clean:
|
||||
go clean
|
||||
|
||||
upgrade:
|
||||
$(RM) -r vendor
|
||||
go get -d -u -t ./...
|
||||
go mod tidy
|
||||
go mod vendor
|
||||
|
||||
# vim: set ft=make noet ai ts=4 sw=4 sts=4:
|
||||
Reference in New Issue
Block a user