X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/0471b0eeea5ea30883c776dd53275ec6b8454ca7..33e7863900e90b0b30e296fa52861965264e2393:/lunaix-os/makefile diff --git a/lunaix-os/makefile b/lunaix-os/makefile index 58bc9d7..0666dc4 100644 --- a/lunaix-os/makefile +++ b/lunaix-os/makefile @@ -47,8 +47,8 @@ all-debug: clean $(BUILD_DIR)/$(OS_ISO) @${TOOLCHAIN}/i686-elf-objdump -S $(BIN_DIR)/$(OS_BIN) > $(BUILD_DIR)/kdump.txt clean: - @rm -rf $(BUILD_DIR) - @sleep 1 + @rm -rf $(BUILD_DIR) || exit 1 + @sleep 2 run: $(BUILD_DIR)/$(OS_ISO) @qemu-system-i386 -cdrom $(BUILD_DIR)/$(OS_ISO) -monitor telnet::$(QEMU_MON_PORT),server,nowait &