From 6862af407eee9cf8200478f52036cf2b34625def Mon Sep 17 00:00:00 2001 From: Zvonimir Rudinski Date: Thu, 18 Sep 2025 01:59:12 +0200 Subject: [PATCH] add uninstall task --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a4fec8e..e1caa5b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,6 @@ main.o: clean: rm -f *.o rm -f todd - rm /usr/local/bin/todd || true todd: todo.o main.o $(CC) $(CFLAGS) todo.o main.o -lncurses -o todd @@ -21,3 +20,6 @@ all: todd install: todd cp todd /usr/local/bin/todd + +uninstall: + rm /usr/local/bin/todd || true