better libopencm3 submodule compilation

This commit is contained in:
King Kévin 2017-06-27 11:59:33 +02:00
parent 14adeaef27
commit f79f16b88f
1 changed files with 1 additions and 1 deletions

View File

@ -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))