commit 2f39fb84ac737d5e09aac2f4462565c74825a287
parent 3727f4a7b3d230226f0082581444344d563e0f9c
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Mon, 19 Apr 2021 11:12:46 -0500
Merge pull request #112 from JaGoLi/main
Add uninstall target in makefile like dwm
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git 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