aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJason Goulet-Lipman <jason.gouletlipman@gmail.com>2021-04-19 09:05:35 -0400
committerJason Goulet-Lipman <jason.gouletlipman@gmail.com>2021-04-19 09:05:35 -0400
commitd57db4cac927126d1d006becf5f2ed743ac21474 (patch)
tree2dd64fbeaca479a83cafd39bf352b602d845a180 /Makefile
parent3727f4a7b3d230226f0082581444344d563e0f9c (diff)
added uninstall target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fe6ff04..5ff69e9 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,10 @@ clean:
install: dwl
install -D dwl $(PREFIX)/bin/dwl
-.PHONY: all clean install
+uninstall:
+ rm -f $(PREFIX)/bin/dwl
+
+.PHONY: all clean install uninstall
# wayland-scanner is a tool which generates C headers and rigging for Wayland
# protocols, which are specified in XML. wlroots requires you to rig these up