mirror of
https://github.com/Chaoscaot/schemsearch.git
synced 2025-11-05 05:54:02 +01:00
Add Makefile for easier building
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@ -0,0 +1,24 @@
|
||||
default:
|
||||
@echo "Building (Release)...";
|
||||
cargo rustc --release --color=always -p schemsearch-cli -- -C target-feature=+avx2
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user