From 42bacc4e82c22eef09d9748c11f2a193a91a6be4 Mon Sep 17 00:00:00 2001 From: Orangerot Date: Thu, 6 Apr 2023 00:06:36 +0200 Subject: [PATCH] (un)install system wide --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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