diff --git a/stm/Makefile b/stm/Makefile index e84e21eae2..729913baee 100644 --- a/stm/Makefile +++ b/stm/Makefile @@ -162,7 +162,7 @@ $(BUILD)/flash.elf: $(OBJ) arm-none-eabi-size $@ $(BUILD): - mkdir $@ + mkdir -p $@ $(BUILD)/%.o: %.s $(AS) -o $@ $<