From dc0789aa72d22eec4c88adf45fae53ef72326336 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Fri, 16 Nov 2018 19:57:56 +0100 Subject: [PATCH] makefile: reorg flags --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6eb59de..8225e46 100644 --- a/Makefile +++ b/Makefile @@ -32,9 +32,9 @@ fd.iso: kernel #https://gcc.gnu.org/onlinedocs/gcc/x86-Function-Attributes.html#x86-Function-Attributes core/exception_handler.o:core/exception_handler.c - $(CC) $(CPPFLAGS) $(CFLAGS) -mgeneral-regs-only -c $< -o $@ + $(CC) $(CFLAGS) $(CPPFLAGS) -mgeneral-regs-only -c $< -o $@ core/irq_handler.o:core/irq_handler.c - $(CC) $(CPPFLAGS) $(CFLAGS) -mgeneral-regs-only -c $< -o $@ + $(CC) $(CFLAGS) $(CPPFLAGS) -mgeneral-regs-only -c $< -o $@ %.o:%.asm $(AS) $(ASFLAGS) -o $@ $<