Revert "Revert "Makefile testing stuff""

This reverts commit d6af50d8df43caa54d45bd16ee5cc334fbc1a0c2.
This commit is contained in:
Adrien Bourmault 2019-03-06 20:05:18 +01:00
parent f215ac7e62
commit c01a58b80c
1 changed files with 5 additions and 2 deletions

View File

@ -83,11 +83,14 @@ make_disk:
@$(MBRDIR)/create_disk.sh $(BINDIR)/disk.img @$(MBRDIR)/create_disk.sh $(BINDIR)/disk.img
@echo ${CL2}[make_disk]${CL} OK${CL3} @echo ${CL2}[make_disk]${CL} OK${CL3}
testloader: loader
@qemu-system-x86_64 -hda build/bin/disk.img -d cpu_reset &
@ndisasm $(OBJDIR)/boot/loader.bin -b 32 > loader_dism.asm
boot: make_disk boot.mbr loader boot: make_disk boot.mbr loader
@echo ${CL2}[[boot]]${CL} Terminated without error.${CL3} @echo ${CL2}[[boot]]${CL} Terminated without error.${CL3}
all: boot kernel all: boot kernel
@echo ${CL2}[[all]]${CL} Terminated without error.${CL3} @echo ${CL2}[[all]]${CL} Terminated without error.${CL3}
# TEST