about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 09957af..4d6545a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,3 +2,12 @@ x11_bsd_flags = -I/usr/X11R6/include -L/usr/X11R6/lib
 
 all:
 	${CC} ${CFLAGS} ${LDFLAGS} clipnotify.c -o clipnotify $(x11_bsd_flags) -lX11 -lXfixes
+
+install: all
+	cp clipnotify /usr/local/bin
+
+uninstall:
+	rm /usr/local/bin/clipnotify
+
+clean:
+	rm -f *.o *~ clipnotify