Initial commit

This commit is contained in:
Breadway 2026-07-02 20:59:24 +08:00
commit 854c5752f9
10 changed files with 1614 additions and 0 deletions

14
Makefile Normal file
View file

@ -0,0 +1,14 @@
PREFIX ?= /usr/local
BINDIR := $(PREFIX)/bin
TARGET := target/release/breadshot
.PHONY: build install uninstall
build:
cargo build --release
install: build
install -Dm755 $(TARGET) $(DESTDIR)$(BINDIR)/breadshot
uninstall:
rm -f $(DESTDIR)$(BINDIR)/breadshot