From d0b42be68b1c1ec753e52936def9325dc4eeb1df Mon Sep 17 00:00:00 2001 From: Ales Katona Date: Fri, 25 Jan 2019 23:32:18 -0700 Subject: [PATCH] add makefile for simpler compilation --- Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1cdcbe0 --- /dev/null +++ b/Makefile @@ -0,0 +1,15 @@ +CARGO=cargo +BACKENDS=backend_piston,backend_gilrs + +all: + cargo build --features=${BACKENDS} + +test: + cargo test --features=${BACKENDS} + +doc: + cargo doc --features=${BACKENDS} + +clean: + cargo clean +