From 55307a71cbc5d517ff311ea4adf1501717eb0fcf Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Fri, 25 Sep 2020 07:03:12 +0330 Subject: added an install, uninstall and clean command. --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit 1.4.1