X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=Makefile;h=7fa61b9bb058acad8cd4bda6a59ef86a56553fbe;hb=eb934abaf0dcfa48589c6ac15f2a2ff235c5aea0;hp=500acb6d360cea4a6909e521d84bbe8458f78669;hpb=60068d8dc031615c486e458d0426c659f72cb182;p=bootcensus diff --git a/Makefile b/Makefile index 500acb6..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: