From aceb8340357347d68b5b96b778e3a928bcdd3c5e Mon Sep 17 00:00:00 2001 From: spv Date: Sun, 23 Nov 2025 13:47:37 -0500 Subject: add `sb` for summation, fixup ROADMAP --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 895b6e0..d4803f4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CC=gcc -all: bin bin/stroke_buddy +all: bin bin/stroke_buddy bin/sb clean: rm -rf bin @@ -11,13 +11,17 @@ bin: bin/stroke_buddy: src/main.c src/key_tracker.c src/report.c ${CC} $^ -o $@ +bin/sb: src/sb + cp $^ $@ + run: all bin/stroke_buddy install: all - cp -p bin/stroke_buddy ~/.local/bin/ - cp -p res/stroke_buddy.service ~/.config/systemd/user/ - ln -s ~/.config/systemd/user/stroke_buddy.service ~/.config/systemd/user/default.target.wants/stroke_buddy.service + cp -pf bin/stroke_buddy ~/.local/bin/ + cp -pf res/stroke_buddy.service ~/.config/systemd/user/ + cp -p src/sb ~/.local/bin + ln -fs ~/.config/systemd/user/stroke_buddy.service ~/.config/systemd/user/default.target.wants/stroke_buddy.service mkdir -p ~/.local/stroke_buddy uninstall: -- cgit v1.2.3