From eedc19ee5eefee1a067cdfde67e9d257acab071b Mon Sep 17 00:00:00 2001
From: Per Lindgren <per.lindgren@ltu.se>
Date: Fri, 12 Jan 2018 01:53:07 +0100
Subject: [PATCH] Makefile

---
 Makefile | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Makefile

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..de0f126
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+
+TARGETS = bare0 bare1 
+DIR = target/thumbv7em-none-eabihf/debug/examples/
+ELFS = $(addprefix $(DIR), $(TARGETS))
+EELFS = $(addsuffix .elf, $(ELFS))
+
+.PHONY: all
+
+all: xargo $(EELFS)
+
+xargo:
+	xargo build --examples
+		
+%.elf:
+	cp $* $@
\ No newline at end of file
-- 
GitLab