diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..de0f1267f6dcfec9224a6d03fb539cd8cb18d488 --- /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