From 2c542b87ff3dc2eacc036dc296a81f8fc215e6d9 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Wed, 25 Dec 2019 13:53:18 -0500 Subject: some more, tag part doesn't work --- makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'makefile') diff --git a/makefile b/makefile index 95236b9..b330fc3 100644 --- a/makefile +++ b/makefile @@ -11,7 +11,9 @@ kernel: obj out gcc -c src/kernel/mem.c -o obj/kmem.o -ffreestanding -nostdlib -m32 gcc -c src/kernel/proc.c -o obj/kproc.o -ffreestanding -nostdlib -m32 gcc -c src/kernel/vga.c -o obj/kvga.o -ffreestanding -nostdlib -m32 - ld obj/k*.o -o out/kernel.elf -T src/kernel/link.ld -s --orphan-handling=discard -m elf_i386 + ld obj/kstub.o obj/kfiles.o obj/kmain.o obj/kmem.o obj/kproc.o obj/kvga.o \ + -o out/kernel.elf -T src/kernel/link.ld -s --orphan-handling=discard -melf_i386 + clean: rm -r obj out -- cgit v1.2.3