diff options
-rw-r--r-- | Makefile | 12 |
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 |