Makefile: Don't fail if build dir already exists

This commit is contained in:
Daniel Schulte 2018-05-12 12:12:52 +02:00
parent ca525abe96
commit 27403e0594
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ $(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
$(BIN) $< $@ $(BIN) $< $@
$(BUILD_DIR): $(BUILD_DIR):
mkdir $@ mkdir -p $@
format: format:
find Src/ Inc/ -iname '*.h' -o -iname '*.c' | xargs clang-format -i find Src/ Inc/ -iname '*.h' -o -iname '*.c' | xargs clang-format -i