From cf3821d7fc239eb45e52103e0ed7176e5c083a15 Mon Sep 17 00:00:00 2001 From: fef Date: Mon, 30 Jan 2023 21:11:32 +0100 Subject: [PATCH] add makefile --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e1000b0 --- /dev/null +++ b/Makefile @@ -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/man6/ + +clean: + cargo clean + +all: http +