Tiny makefile touchup to autocreate build directory
This commit is contained in:
parent
12e7efb8b5
commit
2a8169e8fa
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue