summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index c83979c..1da4ce5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
.PHONY: clean, mrproper, Init.rfs, floppy, commit
Projects = kernel library modules/test
+QemuCmd = qemu-system-i386
Floppy = Grapes.fl.img
@@ -8,7 +9,7 @@ all:
@for p in $(Projects); do \
echo ""; echo "----------------------"; \
echo "=> Building $$p"; \
- make -C src/$$p -s; \
+ make -C src/$$p; \
done
rebuild: mrproper all
@@ -44,8 +45,8 @@ bochs: all floppy
bochs -f bochs.cfg
qemu: all floppy
- qemu -fda $(Floppy) -m 16
+ $(QemuCmd) -fda $(Floppy) -m 16
qemu-gdb: all floppy
- qemu -fda $(Floppy) -m 16 -s -S & gdb src/kernel/kernel.elf -x gdb-cmd
+ $(QemuCmd) -fda $(Floppy) -m 16 -s -S & gdb src/kernel/kernel.elf -x gdb-cmd