Fix missing build directory

Currently, `build/bootloader` is the first make target being executed
during `make all`. However, after a clean checkout, the `build`
directory does not yet exist. Create it accordingly.
This commit is contained in:
Andre Richter 2017-09-28 10:47:41 +02:00
parent 024ba4386b
commit 49867f754c
No known key found for this signature in database
GPG key ID: 2116C1AB102F615E

View file

@ -1,4 +1,5 @@
build/bootloader: bootloader/$(ARCH)/** build/bootloader: bootloader/$(ARCH)/**
mkdir -p build
nasm -f bin -o $@ -D ARCH_$(ARCH) -ibootloader/$(ARCH)/ bootloader/$(ARCH)/disk.asm nasm -f bin -o $@ -D ARCH_$(ARCH) -ibootloader/$(ARCH)/ bootloader/$(ARCH)/disk.asm
build/harddrive.bin: build/filesystem.bin bootloader/$(ARCH)/** build/harddrive.bin: build/filesystem.bin bootloader/$(ARCH)/**