From bb7d3b09b14326c30e7fcc95909d7dc8b6db8dd2 Mon Sep 17 00:00:00 2001 From: Igor Kolokolnikov Date: Tue, 15 Sep 2026 20:49:53 -0700 Subject: [PATCH] Added install target. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index edfd2ef..e3d0a92 100644 --- a/Makefile +++ b/Makefile @@ -85,5 +85,11 @@ perf: run: @ clear; ./$(EXE) +install: + @ [ "$$(id -u)" = "0" ] && \ + chown root:root ./$(EXE) && \ + chmod u+s ./$(EXE) && \ + cp ./$(EXE) /usr/local/bin + clean: @ rm -rf $(EXE) $(EXE).dSYM