2023-04-04 00:36:40 +02:00
|
|
|
default:
|
|
|
|
@echo "Building (Release)...";
|
|
|
|
cargo rustc --release --color=always -p schemsearch-cli -- -C target-feature=+avx2
|
|
|
|
|
2023-04-04 16:31:48 +02:00
|
|
|
sql:
|
|
|
|
@echo "Building (Release)...";
|
|
|
|
cargo rustc --release --color=always -p schemsearch-cli --features sql -- -C target-feature=+avx2
|
|
|
|
|
2023-04-04 00:36:40 +02:00
|
|
|
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
|