diff --git a/Makefile b/Makefile index 22da80e..14d4e31 100644 --- a/Makefile +++ b/Makefile @@ -129,7 +129,7 @@ BMP_PORT ?= /dev/ttyACM0 endif # compile target rules -all: elf hex bin +all: $(OPENCM3_LIB)/lib$(STM32F1_LIB).a elf hex bin elf: $(patsubst %,%.elf,$(FIRMWARE)) bin: $(patsubst %,%.bin,$(FIRMWARE))