Initial commit
This commit is contained in:
commit
854c5752f9
10 changed files with 1614 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue