add uninstall task
This commit is contained in:
4
Makefile
4
Makefile
@@ -12,7 +12,6 @@ main.o:
|
|||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
rm -f todd
|
rm -f todd
|
||||||
rm /usr/local/bin/todd || true
|
|
||||||
|
|
||||||
todd: todo.o main.o
|
todd: todo.o main.o
|
||||||
$(CC) $(CFLAGS) todo.o main.o -lncurses -o todd
|
$(CC) $(CFLAGS) todo.o main.o -lncurses -o todd
|
||||||
@@ -21,3 +20,6 @@ all: todd
|
|||||||
|
|
||||||
install: todd
|
install: todd
|
||||||
cp todd /usr/local/bin/todd
|
cp todd /usr/local/bin/todd
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
rm /usr/local/bin/todd || true
|
||||||
|
|||||||
Reference in New Issue
Block a user