summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-07-19 10:34:39 +0100
committerfishsoupisgood <github@madingley.org>2019-07-19 10:34:39 +0100
commit249b0bf2a3c752bcf86cf50ecb700940c11fca30 (patch)
tree4d1c86d3e7568c079cf0bee4ef8a3eb93b8cdd10
parent697859c29b7922577a78087cb39549a137eee1b6 (diff)
downloadadapter-249b0bf2a3c752bcf86cf50ecb700940c11fca30.zip
adapter-249b0bf2a3c752bcf86cf50ecb700940c11fca30.tar.gz
adapter-249b0bf2a3c752bcf86cf50ecb700940c11fca30.tar.bz2
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b551017
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+default: app/timex.elf
+
+app/timex.elf: libopencm3/lib/libopencm3_stm32f1.a boot/usbdfu.elf
+ make -C app
+
+boot/usbdfu.elf: libopencm3/lib/libopencm3_stm32f1.a
+ make -C boot
+
+libopencm3/lib/libopencm3_stm32f1.a:
+ make -C libopencm3
+
+.PRECIOUS: app/timex.elf libopencm3/lib/libopencm3_stm32f1.a boot/usbdfu.elf