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