add makefile
This commit is contained in:
parent
6d8f2f1832
commit
6e7591e009
1 changed files with 13 additions and 0 deletions
13
Makefile
Normal file
13
Makefile
Normal file
|
@ -0,0 +1,13 @@
|
|||
http: src/main.rs Cargo.toml Cargo.lock
|
||||
cargo build --release
|
||||
|
||||
install: http
|
||||
install target/release/http-util /usr/local/bin/http
|
||||
ln -sf http /usr/local/bin/https
|
||||
install http.1 /usr/local/share/man/man1/
|
||||
|
||||
clean:
|
||||
cargo clean
|
||||
|
||||
all: http
|
||||
|
Loading…
Reference in a new issue