teamspeak-query-lib/Makefile

17 lines
282 B
Makefile
Raw Permalink Normal View History

2023-11-17 16:32:15 +00:00
.PHONY: run
2023-11-17 17:51:28 +00:00
INSTALL_DIR = $(HOME)/.local/bin
2023-11-17 16:32:15 +00:00
build:
@cargo build
run: build
@PATH=$(PWD)/target/debug:$(PATH) ./ts-control
2023-11-17 17:51:28 +00:00
install:
mkdir -p "$(INSTALL_DIR)"
cargo build --release
install -Dm755 -t "$(INSTALL_DIR)" \
./target/release/teamspeak-query-lib \
./ts-control