From dadf69a67ea4ea6fd0f3341a006d2fa8084e8355 Mon Sep 17 00:00:00 2001 From: zelda2774 <69368340+zelda2774@users.noreply.github.com> Date: Sun, 27 Dec 2020 23:59:57 +0100 Subject: [PATCH] Speed up make (#568) Co-authored-by: zelda2774 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 $@