You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
279 B

4 years ago
INSTALL:= /usr/local/lib
4 years ago
khash:
4 years ago
RUSTFLAGS="-C target-cpu=native" cargo build --release
4 years ago
strip ./target/release/libkhash.so
test:
cargo test
cd test && $(MAKE)
4 years ago
install:
4 years ago
cp -f ./target/release/libkhash.so $(INSTALL)/libkhash.so
uninstall:
rm -f $(INSTALL)/libkana_hash.so