From e49c203c34493da7b17c0f071e80d2b843952628 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Thu, 26 Jun 2025 11:04:07 +0200 Subject: [PATCH] Prevent errors in make, use -p with mkdir --- makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index 795f7e1..41b4fbd 100644 --- a/makefile +++ b/makefile @@ -1,8 +1,8 @@ build/bin/tests: build/tests.o build/constants.o build/core.o build/console.o build/string.o build/file.o - mkdir build/bin + mkdir -p build/bin ld build/tests.o build/constants.o build/core.o build/console.o build/string.o build/file.o -o build/bin/tests -no-pie -z noexecstack -Ox build/tests.o: src/tests.asm - mkdir build + mkdir -p build nasm src/tests.asm -f elf64 -o build/tests.o build/constants.o: src/constants.asm nasm src/constants.asm -f elf64 -o build/constants.o