Skip to content

Commit

Permalink
add clean recipe, update install
Browse files Browse the repository at this point in the history
  • Loading branch information
ntBre committed Jul 13, 2024
1 parent 997d1dd commit 0109137
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ bench:
clippy:
cargo clippy --workspace --tests

clean:
cargo clean

%.pdf : %.gv
dot -Tpdf $< -o $@

Expand All @@ -32,12 +35,9 @@ eland: build
scp -C ${BASE}/target/$(TARGET)/release/spectro_bin \
'eland:bin/rspectro'

build_local:
cargo build --release --bin spectro_bin

.PHONY: install
install: build_local
sudo ln -s $(realpath target/release/spectro_bin) /usr/bin/rspectro
install:
cargo install --path spectro_bin

poly.test:
cargo run --features polyad -p spectro_bin spectro/testfiles/c2h4/spectro.in
Expand Down

0 comments on commit 0109137

Please sign in to comment.