summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKimapr <kimapr@mail.ru>2023-12-21 13:09:53 +0500
committerLizzy Fleckenstein <lizzy@vlhl.dev>2023-12-21 09:16:20 +0100
commit43a856b5d40ceb570af7755d9f1222093a48aa64 (patch)
tree7469e90c968290a49e884881a4699a22bac27d45 /Makefile
parent5b61e495721fe414e43cc52298987f02c9bce24c (diff)
downloadcuddles-43a856b5d40ceb570af7755d9f1222093a48aa64.tar.xz
move SSE init code to init, add -mgeneral-regs-only to init.c and pic.c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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 $@