From 43a856b5d40ceb570af7755d9f1222093a48aa64 Mon Sep 17 00:00:00 2001 From: Kimapr Date: Thu, 21 Dec 2023 13:09:53 +0500 Subject: move SSE init code to init, add -mgeneral-regs-only to init.c and pic.c --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3b1a428..ea2f5bf 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,10 @@ stage3/%.o: stage3/%.asm stage3/interrupts.o: stage3/interrupts.c gcc $(CFLAGS) -mgeneral-regs-only -c $< -o $@ +stage3/pic.o: stage3/pic.c + gcc $(CFLAGS) -mgeneral-regs-only -c $< -o $@ +stage3/init.o: stage3/init.c + gcc $(CFLAGS) -mgeneral-regs-only -c $< -o $@ stage3/%.o: stage3/%.c gcc $(CFLAGS) -c $< -o $@ -- cgit v1.2.3