From 655482fcd2998e7d4567c439dd70b4dcdf263652 Mon Sep 17 00:00:00 2001 From: dark-samus Date: Mon, 27 Apr 2020 22:09:48 -0400 Subject: [PATCH] auto generate build folders --- papermario/Makefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/papermario/Makefile b/papermario/Makefile index b5682401bc..d4cc61743c 100644 --- a/papermario/Makefile +++ b/papermario/Makefile @@ -8,15 +8,8 @@ BUILD_DIR = build SRC_DIRS := src ASM_DIRS := asm DATA_DIRS := bin -AUDIO_DIRS := audio COMPRESSED_DIRS := COMPRESSED.YAY MAP_DIRS := Map_Assets.FS -BGM_DIRS := SOUND.BGM -BK_DIRS := SOUND.BK -MSEQ_DIRS := SOUND.MSEQ -PER_DIRS := SOUND.PER -PRG_DIRS := SOUND.PRG -SEF_DIRS := SOUND.SEF # Source code files C_FILES := $(foreach dir,$(SRC_DIRS),$(wildcard $(dir)/*.c)) @@ -59,6 +52,7 @@ LOADER_FLAGS = -vwf FixPath = $(subst /,\,$1) ######################## Targets ############################# +$(foreach dir,$(SRC_DIRS) $(ASM_DIRS) $(DATA_DIRS) $(COMPRESSED_DIRS) $(MAP_DIRS),$(shell mkdir -p build/$(dir))) default: all