diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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: |
