12 lines
217 B
Makefile
12 lines
217 B
Makefile
PREFIX=/usr/local
|
|
OUTPUT=antifetch
|
|
|
|
build:
|
|
go build -v ./cmd/${OUTPUT}
|
|
clean:
|
|
rm -f ${OUTPUT}
|
|
install:
|
|
install -m0755 ${OUTPUT} ${DESTDIR}${PREFIX}/bin/${OUTPUT}
|
|
uninstall:
|
|
rm -f ${DESTDIR}${PREFIX}/bin/${OUTPUT}
|