16 lines
214 B
Makefile
16 lines
214 B
Makefile
|
build:
|
||
|
go build -ldflags "-s -w" -o bin/ontvacstat main.go
|
||
|
|
||
|
debug:
|
||
|
go build -o bin/ontvacstat-debug main.go
|
||
|
|
||
|
all: build debug
|
||
|
|
||
|
run:
|
||
|
go run main.go
|
||
|
|
||
|
clean:
|
||
|
rm -f bin/*
|
||
|
|
||
|
install:
|
||
|
cp bin/ontvacstat /usr/local/bin
|