diff --git a/Makefile.example b/Makefile.example index 76694c47..a61e565e 100644 --- a/Makefile.example +++ b/Makefile.example @@ -57,6 +57,9 @@ $(NAME): @echo [OBJCOPY] $(NAME) $Q$(OBJCOPY) $(STRIP_DEBUG) $(NAME) +qemu: newlib tools $(NAME) + qemu -no-kvm -smp 2 -net nic,model=rtl8139 -net user,hostfwd=tcp::12345-:7 -net dump -kernel metalsvm.bin -initrd tools/initrd.img + clean: $Q$(RM) $(NAME) $(SYM_NAME) *~ $Q$(MAKE) -C tools clean