diff --git a/Makefile b/Makefile index 5ab69dc..5985440 100644 --- a/Makefile +++ b/Makefile @@ -204,12 +204,9 @@ clean: # make libopencm3 if library for STM32F1 is not yet existing $(OPENCM3_LIB)/lib$(STM32F1_LIB).a: $(info compiling libopencm3 library) - $(Q)$(MAKE) -C $(OPENCM3_DIR) - -# ensure opencm3 has been downloaded and compiled -$(LDSCRIPT): git submodule init git submodule update + $(Q)$(MAKE) -C $(OPENCM3_DIR) flash: $(BINARY).hex $(info flashing $(<) using SWD)