about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2020-09-25 07:03:12 +0330
committerChris Down <chris@chrisdown.name>2020-09-25 08:12:41 +0100
commit55307a71cbc5d517ff311ea4adf1501717eb0fcf (patch)
tree3dd6af1303ad4b128da99675d9449192297e2d13 /Makefile
parent22f7cb09d0b99af0aae7109aaff73760ef2dd5e3 (diff)
downloadclipbuzz-55307a71cbc5d517ff311ea4adf1501717eb0fcf.tar.gz
added an install, uninstall and clean command.
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