From b6528efc1389861b08399fc31d0cd97b786078da Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 13 Jan 2025 06:24:17 +0100 Subject: [PATCH] Renamed project to Xtimer and added install and uninstall routines to Makefile. --- .gitignore | 2 +- Makefile | 10 ++++++++-- xtimer.c => Xtimer.c | 0 3 files changed, 9 insertions(+), 3 deletions(-) rename xtimer.c => Xtimer.c (100%) diff --git a/.gitignore b/.gitignore index c2a6eff..fe53eac 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -xtimer +Xtimer diff --git a/Makefile b/Makefile index 7e6e97a..3517e71 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ all: - $(CC) -Wall -o xtimer xtimer.c -lX11 -lXi + $(CC) -Wall -oXtimer Xtimer.c -lX11 -lXi clean: - rm -f xtimer + rm -f Xtimer + +install: + install -g 0 -o 0 -m 0655 ./Xtimer /usr/bin/ + +uninstall: + rm -rf /usr/bin/Xtimer diff --git a/xtimer.c b/Xtimer.c similarity index 100% rename from xtimer.c rename to Xtimer.c