1
0
Mirror von https://github.com/Chaoscaot/schemsearch synchronisiert 2024-11-14 16:00:09 +01:00
schemsearch/Makefile
2023-12-26 21:28:46 +01:00

28 Zeilen
647 B
Makefile

default:
@echo "Building (Release)...";
cargo rustc --release --color=always -p schemsearch-cli -- -C target-cpu=native
sql:
@echo "Building (Release)...";
cargo rustc --release --color=always -p schemsearch-cli --features sql -- -C target-cpu=native
debug:
@echo "Building (Debug)...";
cargo build -p schemsearch-cli
install: default
@echo "Installing...";
install -Dm755 target/release/schemsearch-cli /usr/bin/schemsearch
uninstall:
@echo "Uninstalling...";
rm -f /usr/bin/schemsearch
java:
@echo "Building Java...";
@echo "WARNING: This is WORK IN PROGRESS!";
javac SchemSearch.java
clean:
@echo "Cleaning...";
cargo clean