X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootcensus;a=blobdiff_plain;f=Makefile;h=07e856f17b36375fe72da64e15700791b19a1fb6;hp=23c8eafe33e16eb5ea3ee3f16c9bf0d1dd7aa10d;hb=bd35c984636a2d5dfdff7a80f8eaa4e388c6899c;hpb=9358438bef42dbbcd1492a52d9010899a9756d2c diff --git a/Makefile b/Makefile index 23c8eaf..07e856f 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ CFLAGS = $(ccarch) -march=i386 $(warn) $(opt) $(dbg) $(gccopt) $(inc) $(def) ASFLAGS = $(asarch) -march=i386 $(dbg) -nostdinc -fno-builtin $(inc) LDFLAGS = $(ldarch) -nostdlib -T pcboot.ld -print-gc-sections +QEMU_FLAGS = -fda floppy.img -serial file:serial.log -soundhw sb16 ifneq ($(shell uname -m), i386) ccarch = -m32 @@ -71,11 +72,11 @@ $(elf).sym: $(elf) .PHONY: run run: $(bin) - qemu-system-i386 -fda floppy.img -serial file:serial.log + qemu-system-i386 $(QEMU_FLAGS) .PHONY: debug debug: $(bin) $(elf).sym - qemu-system-i386 -fda floppy.img -serial file:serial.log -s -S + qemu-system-i386 $(QEMU_FLAGS) -s -S .PHONY: sym sym: $(elf).sym