feat(make): add run and debug rules

Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
This commit is contained in:
Julien CLEMENT 2021-11-30 07:05:25 +01:00
parent bb7334e343
commit be3cc35e1d

@ -13,6 +13,12 @@ SRC = src/lib.rs
all: $(ISO) all: $(ISO)
run: $(ISO)
qemu-system-x86_64 -cdrom $<
debug: $(ISO)
bochs -q
$(ISO): install $(ISO): install
grub-mkrescue -o $@ $(INSTALL_ROOT) grub-mkrescue -o $@ $(INSTALL_ROOT)
@ -38,4 +44,4 @@ clean:
$(RM) julios.iso $(RM) julios.iso
$(RM) -r iso $(RM) -r iso
.PHONY: $(INSTALL_ROOT) install clean all .PHONY: $(INSTALL_ROOT) install clean all run debug