summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2021-04-19 11:12:46 -0500
committerGitHub <noreply@github.com>2021-04-19 11:12:46 -0500
commit2f39fb84ac737d5e09aac2f4462565c74825a287 (patch)
tree2dd64fbeaca479a83cafd39bf352b602d845a180 /Makefile
parent3727f4a7b3d230226f0082581444344d563e0f9c (diff)
parentd57db4cac927126d1d006becf5f2ed743ac21474 (diff)
Merge pull request #112 from JaGoLi/main
Add uninstall target in makefile like dwm
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