typetest

Typing speed benchmarker
git clone https://git.sinitax.com/sinitax/typetest
Log | Files | Refs | LICENSE | sfeed.txt

commit 81eaa32302318b5285f7805ff2083b071e106c56
parent 5a92fc280937a2d6f19a821124736e98f15016af
Author: Louis Burda <quent.burda@gmail.com>
Date:   Fri,  7 Oct 2022 16:40:42 +0200

Add install and uninstall targets

Diffstat:
MMakefile | 18+++++++++++++++++-
Rmain.c -> typetest.c | 0
2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,20 @@ +PREFIX ?= /usr/local +BINDIR ?= /bin + CFLAGS=-I . -g -typetest: main.c +all: typetest + +clean: + rm -f typetest + +typetest: typetest.c $(CC) -o $@ $< $(CFLAGS) $(LDLIBS) + +install: typetest + install -m755 typetest -T "$(DESTDIR)$(PREFIX)$(BINDIR)/typtest" + +uninstall: + rm -f "$(DESTDIR)$(PREFIX)$(BINDIR)/typtest" + +.PHONY: all clean install uninstall diff --git a/main.c b/typetest.c