summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrangerot <purple@orangerot.dev>2023-04-06 00:06:36 +0200
committerOrangerot <purple@orangerot.dev>2023-04-06 00:06:36 +0200
commit42bacc4e82c22eef09d9748c11f2a193a91a6be4 (patch)
tree819033b2ea64b4336b38a98c656d6a2d8404a229
parent1ce8ee63197d1df824034c29cd1563c15e574173 (diff)
(un)install system wide
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index bcad686..ba28ee4 100644
--- a/Makefile
+++ b/Makefile
@@ -3,4 +3,8 @@ all:
gcc `pkg-config --cflags gtk+-3.0 gtk-layer-shell-0` -o dicons dicons.c `pkg-config --libs gtk+-3.0 gtk-layer-shell-0`
clangd:
bear -- gcc `pkg-config --cflags gtk+-3.0 gtk-layer-shell-0` -o dicons dicons.c `pkg-config --libs gtk+-3.0 gtk-layer-shell-0`
+install:
+ install -Dm755 dicons /usr/local/bin/dicons
+uninstall:
+ rm -f /usr/local/bin/dicons