Skip to content

Commit

Permalink
Added a Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
AMNatty committed Feb 22, 2023
1 parent 3ed9a8d commit d3b9908
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
./target/release/wleave: src/**.rs
cargo build --frozen --release --all-features

.PHONY:
install: ./target/release/wleave
install -Dm0755 -t "${DESTDIR}/bin" "./target/release/wleave"

.PHONY: wleave
wleave: ./target/release/wleave

.PHONY: all
all: wleave

.PHONY: clean
clean:
rm -rf ./target

0 comments on commit d3b9908

Please sign in to comment.