diff --git a/Makefile b/Makefile index 412373b776..95b28a0690 100644 --- a/Makefile +++ b/Makefile @@ -87,7 +87,7 @@ setup: clean submodules n64split split print-% : ; $(info $* is a $(flavor $*) variable set to [$($*)]) @true $(BUILD_DIR): - mkdir $(BUILD_DIR) + mkdir -p $(BUILD_DIR) $(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(LD_SCRIPT) @$(LD) $(LDFLAGS) -o $@ $(O_FILES)