aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorspv <spv@spv.sh>2025-11-23 13:47:37 -0500
committerspv <spv@spv.sh>2025-11-23 13:48:49 -0500
commitaceb8340357347d68b5b96b778e3a928bcdd3c5e (patch)
tree75cd345d7b5bfd8c09556a52183d4883cb9d6ba0 /Makefile
parenta191ad0247eac24c30d41de1d484d9d60e3acb2a (diff)
add `sb` for summation, fixup ROADMAP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 insertions, 4 deletions
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: