Resolve "Use dependencies instead of makefile chaining"

This commit is contained in:
Byron Lathi
2023-09-30 04:16:52 +00:00
parent 74f69378e8
commit d3d3fea916
4 changed files with 48 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
.PHONY: all install bootloader kernel clean
.PHONY: all install bios kernel clean
all: toolchain bootloader kernel
all: toolchain bios kernel
install: all
sh script/format_disk.sh
@@ -9,8 +9,8 @@ install: all
toolchain:
@$(MAKE) -j4 -C cc65
bootloader:
@$(MAKE) -C bootloader
bios:
@$(MAKE) -C bios
kernel:
@$(MAKE) -C kernel