release build, create 3700xxx binaries

This commit is contained in:
Milo Turner 2020-03-09 12:41:41 -04:00
parent e687f03227
commit 39fc9a5a48
2 changed files with 12 additions and 2 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ target
.dir-locals.el
*~
*\#
3700send
3700recv

View File

@ -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