cmus2tsv

convert cmus' cache format to TSV
Log | Files | Refs

commit 8bb8323de3c5769f5e2eb519921906138b764691
parent 557b4bde4697e576f5fa09e9573ef519c3b54c40
Author: hhvn <dev@hhvn.uk>
Date:   Wed,  6 Jul 2022 20:40:48 +0100

(Un)install targets

Diffstat:
MMakefile | 10+++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,3 +1,5 @@ +PREFIX = /usr/local +BINDIR = $(PREFIX)/bin SRC = cmus2tsv.c OBJ = $(SRC:.c=.o) BIN = cmus2tsv @@ -10,4 +12,10 @@ $(BIN): $(OBJ) clean: rm $(BIN) $(OBJ) -.PHONY: all clean +install: + install -m0755 $(BIN) $(BINDIR)/$(BIN) + +uninstall: + rm -f $(BINDIR)/$(BIN) + +.PHONY: all clean install uninstall