Skip to content

Commit b1ad446

Browse files
authored
Merge pull request #68 from HeatCrab/fix-makefile-build-dirs
Fix build directory creation in rebuild target
2 parents 8c60804 + 29e95d4 commit b1ad446

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ $(BUILD_DIR)/code.txt: $(IMAGE_BASE).bin
9898
# Utility targets
9999
rebuild:
100100
$(Q)find '$(BUILD_APP_DIR)' -type f -name '*.o' -delete 2>/dev/null || true
101-
$(Q)mkdir -p $(BUILD_APP_DIR)
101+
$(Q)mkdir -p $(BUILD_APP_DIR) $(BUILD_KERNEL_DIR) $(BUILD_LIB_DIR)
102102

103103
clean:
104104
$(VECHO) "Cleaning build artifacts...\n"

0 commit comments

Comments
 (0)