Tiny makefile touchup to autocreate build directory

This commit is contained in:
Jarkko Toivanen 2023-09-19 19:56:31 +03:00
parent 12e7efb8b5
commit 2a8169e8fa
Signed by: jt
GPG key ID: 9151B109B73ECAD5

View file

@ -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