diff --git a/Makefile b/Makefile index be0f90ce92..15ee7e0de2 100644 --- a/Makefile +++ b/Makefile @@ -135,8 +135,7 @@ TEXTURE_FILES_OUT := $(foreach f,$(TEXTURE_FILES_RGBA32:.rgba32.png=.rgba32.inc. $(foreach f,$(TEXTURE_FILES_CI8:.ci8.png=.ci8.inc.c),build/$f) \ # create build directories -$(shell mkdir -p build/baserom) -$(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(TEXTURE_DIRS) $(ASSET_BIN_DIRS),$(shell mkdir -p build/$(dir))) +$(shell mkdir -p build/baserom $(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(TEXTURE_DIRS) $(ASSET_BIN_DIRS),build/$(dir))) build/src/libultra_boot_O1/%.o: OPTFLAGS := -O1 build/src/libultra_boot_O2/%.o: OPTFLAGS := -O2 @@ -283,4 +282,4 @@ build/%.ci8.inc.c: %.ci8.png build/assets/%.bin.inc.c: assets/%.bin python3 tools/touchasset.py $(addsuffix basefile.txt, $(dir $@)) - $(ZAP2) bblb -i $< -o $@ \ No newline at end of file + $(ZAP2) bblb -i $< -o $@