aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 33188bf..582f7c5 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,8 @@ CC = gcc
LD = ld
INCLUDES = -Idrivers/include -Ikernel/include -Ilibc/include
CFLAGS = -std=gnu99 -ffreestanding -fno-stack-protector -nostdlib -Wall -Wextra -m32 $(INCLUDES) -g
-EMULATOR = qemu-system-i386
+QEMU = qemu-system-i386
+BOCHS = bochs
AS = as
ASFLAGS=-march=i686 --32
@@ -14,7 +15,11 @@ all: kappa.bin
test: iso
@echo "EMULATOR kappa.iso"
- @$(EMULATOR) kappa.iso
+ @$(QEMU) kappa.iso
+
+test-bochs: iso
+ @echo "BOCHS bochs.cfg"
+ @$(BOCHS) -f bochs.cfg -q
iso: kappa.bin
@echo "Building ISO under $(ISODIR)/..."