Divy out mkdir some more in the makefile (#1701)

This commit is contained in:
Derek Hensley 2024-09-30 04:03:11 -07:00 committed by GitHub
parent bd16074050
commit 7a1e106a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -328,10 +328,12 @@ DEP_FILES := $(O_FILES:.o=.asmproc.d) $(OVL_RELOC_FILES:.o=.d)
OTHER_DIRS := baserom dmadata $(shell find linker_scripts -type d)
# create build directories
$(shell mkdir -p $(foreach dir,$(OTHER_DIRS),$(BUILD_DIR)/$(dir)))
$(shell mkdir -p $(foreach dir, \
$(SRC_DIRS) \
$(ASM_DIRS) \
$(OTHER_DIRS), \
$(BUILD_DIR)/$(dir)))
$(shell mkdir -p $(foreach dir, \
$(ASSET_BIN_DIRS) \
$(ASSET_BIN_DIRS_C_FILES) \
$(SAMPLE_DIRS) \