From 2a8169e8fa2b8c5935c8836a523e2913fad55e74 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Tue, 19 Sep 2023 19:56:31 +0300 Subject: [PATCH] Tiny makefile touchup to autocreate build directory --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 28c65a3..9617a39 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: build/kernel-i386.elf clean: -@rm build/* 2> /dev/null || true -build/kernel-i386.elf: src/* +build/kernel-i386.elf: src/* build/ tcc -m32 -nostdlib -Wl,-Ttext,0x100000 -o build/kernel-i386.elf src/start32.s src/*.c image: build/kernel-i386.elf mount cp build/kernel-i386.elf mnt/roska/start32.elf