summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-25 13:53:18 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-25 13:53:18 -0500
commit2c542b87ff3dc2eacc036dc296a81f8fc215e6d9 (patch)
tree0dc1f733b33c45121b806343f7d00bbda03aced8 /makefile
parent2b7b69e1ffd00aefa60d73a5af3bacc1c803a930 (diff)
downloadportland-os-2c542b87ff3dc2eacc036dc296a81f8fc215e6d9.tar.gz
some more, tag part doesn't work
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 3 insertions, 1 deletions
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