summary refs log tree commit diff
diff options
context:
space:
mode:
authorCurtis McEnroe2018-08-20 16:26:35 -0400
committerCurtis McEnroe2018-08-20 16:26:35 -0400
commitab950b3044307ca08f0dc9e425a204cbff9b999b (patch)
tree4ab97d7e0465383b3db7537644a53b80bac4a4c4
parentc0c0ef464471363f5f57d9e358648b9ca747bd6e (diff)
Add uninstall target
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c2516fc..435172f 100644
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,6 @@ $(OBJS): chat.h
 tags: *.h *.c
 	ctags -w *.h *.c
 
-install: chatte
-	install chatte $(PREFIX)/bin/chatte
-
 chroot.tar: chatte
 	mkdir -p root
 	install -d -o root -g wheel \
@@ -69,3 +66,9 @@ chroot.tar: chatte
 
 clean:
 	rm -f tags chatte $(OBJS) chroot.tar
+
+install: chatte
+	install chatte $(PREFIX)/bin/chatte
+
+uninstall:
+	rm -f $(PREFIX)/bin/chatte