diff options
author | Benji Dial <benji3.141@gmail.com> | 2020-01-05 22:26:40 -0500 |
---|---|---|
committer | Benji Dial <benji3.141@gmail.com> | 2020-01-05 22:26:40 -0500 |
commit | 243e28075e223bd9be145251161b692873918764 (patch) | |
tree | b8b2314ae2e7303149780b7bfb25a7e61c6ebcfa /makefile | |
parent | 3ec928b8ca8cbf51310bce62afafe0874e920c24 (diff) | |
download | portland-os-243e28075e223bd9be145251161b692873918764.tar.gz |
function to return pointers to functions to read from a constant interface, so we only have to check the interface once per macro operation
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -11,6 +11,9 @@ files: out cp -r src/skel/* out/fs/ kernel: obj out + nasm src/kernel/ata.asm -o obj/kata.o -f elf32 + nasm src/kernel/floppy.asm -o obj/kfloppy.o -f elf32 + nasm src/kernel/ide.asm -o obj/kide.o -f elf32 nasm src/kernel/keyb.asm -o obj/kkeyba.o -f elf32 nasm src/kernel/serial.asm -o obj/kserial.o -f elf32 nasm src/kernel/stub.asm -o obj/kstub.o -f elf32 @@ -23,8 +26,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/kkeyba.o obj/kserial.o obj/kstub.o obj/kdiskio.o obj/kfiles.o \ - obj/kiso9660.o obj/kkeybc.o obj/kmain.o obj/kmem.o obj/kproc.o obj/kvga.o \ + ld obj/kata.o obj/kfloppy.o obj/kide.o obj/kkeyba.o obj/kserial.o \ + obj/kstub.o obj/kdiskio.o obj/kfiles.o obj/kiso9660.o obj/kkeybc.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: |