From e28e5675353725925d5f8eb4001cda2a9589c544 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Sat, 6 Mar 2021 22:51:56 +0000 Subject: [PATCH] Don't fail making the directory if it already exists --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a0f1f4ed..8677bbd0 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ cargo-debug-%: $(RUSTFILES) out/crt0.o @rustup run nightly cargo xbuild --target=gba.json --example=$${OUTNAME} out/crt0.o: crt0.s interrupt_simple.s - @mkdir $(dir $@) + @mkdir -p $(dir $@) @$(CC) $(ARCH) -o out/crt0.o crt0.s clippy: