summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJerry Trieu <jerry@advancedtelematic.com>2016-02-23 18:19:43 +0100
committerJerry Trieu <jerry@advancedtelematic.com>2016-02-29 16:26:42 +0100
commit6802f9866b7bd4d94e0e759b883eaf4a9ca8784b (patch)
tree21cc23fce8872c69fb664bcd66fb2b5f5cdf2734 /Makefile
parent59fcf770b355629ffefb48412ca765339c85a805 (diff)
downloadrvi_sota_client-6802f9866b7bd4d94e0e759b883eaf4a9ca8784b.tar.gz
Add AuthConfig, use in OtaClient
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..3cddc21
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+.PHONY: all
+
+all: pkg/deb/ota-plus-client-0.1.0/bin
+
+pkg/deb/ota-plus-client-0.1.0/bin: target/release/ota-plus-client
+ mkdir -p $@
+ cp $< $@
+
+target/release/ota-plus-client: src/
+ cargo build --release
+