X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=7fa61b9bb058acad8cd4bda6a59ef86a56553fbe;hb=eb934abaf0dcfa48589c6ac15f2a2ff235c5aea0;hp=9117c3f830731c1255afe4112dc6fa5381d0814c;hpb=07db0aabb3ad8dbb0a3cee2d3837dd93792ae825;p=bootcensus diff --git a/Makefile b/Makefile index 9117c3f..7fa61b9 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,8 @@ warn = -pedantic -Wall dbg = -g inc = -Isrc -Isrc/libc -CFLAGS = $(ccarch) $(warn) $(dbg) -nostdinc -fno-builtin $(inc) $(def) -ASFLAGS = $(asarch) $(dbg) -nostdinc -fno-builtin $(inc) +CFLAGS = $(ccarch) -march=i386 $(warn) $(dbg) -nostdinc -fno-builtin $(inc) $(def) +ASFLAGS = $(asarch) -march=i386 $(dbg) -nostdinc -fno-builtin $(inc) LDFLAGS = $(ldarch) -T pcboot.ld -print-gc-sections @@ -37,7 +37,7 @@ $(elf): $(obj) .PHONY: clean clean: - rm -f $(obj) $(bin) + rm -f $(obj) $(bin) floppy.img .PHONY: cleandep cleandep: @@ -45,4 +45,4 @@ cleandep: .PHONY: run run: $(bin) - qemu-system-i386 -fda floppy.img + qemu-system-i386 -fda floppy.img -serial file:serial.log