From 39fc9a5a48145fe20d9b8a8b85b4358a8dae2ee5 Mon Sep 17 00:00:00 2001 From: Milo Turner Date: Mon, 9 Mar 2020 12:41:41 -0400 Subject: [PATCH] release build, create 3700xxx binaries --- .gitignore | 4 +++- Makefile | 10 +++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index fbb757c..f0fbb80 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ target .rustup-installed .dir-locals.el *~ -*\# \ No newline at end of file +*\# +3700send +3700recv \ No newline at end of file diff --git a/Makefile b/Makefile index c7e715c..65a1091 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,18 @@ .PHONY: all clean test c t -all: .rustup-installed +all: .rustup-installed release-build + +debug-build: cargo build +release-build: + cargo build --release + cp ./target/release/hptp-recv ./3700recv + cp ./target/release/hptp-send ./3700send + clean: cargo clean + rm -f 3700send 3700recv test: cargo test