summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-08-07 18:40:11 +0200
committerMichal Idziorek <m.i@gmx.at>2014-08-07 18:40:11 +0200
commit5a83bd319a22d53eb82d43c738d471a5a8079b36 (patch)
tree6c29e99ab2db9e8297ad977616f202612f041b3e /Makefile
parent0246dfba3efac4c20e73e83c229219d3c136ff40 (diff)
added some physical memory management
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 98f0f66..642f143 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,9 @@ kernel_entry.o: boot/kernel_entry.asm
kernel.o: kernel/kernel.c kernel/console.h
gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
+mem.o: kernel/mem.c
+ gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
+
console.o: kernel/console.c kernel/console.h
gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
@@ -47,7 +50,7 @@ timer.o: kernel/timer.c
shell.o: kernel/shell.c
gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
-kernel.bin: kernel_entry.o kernel.o console.o interrupts.o keyboard.o timer.o shell.o
+kernel.bin: kernel_entry.o kernel.o console.o interrupts.o keyboard.o timer.o shell.o mem.o
ld -o $@ -Ttext 0x1000 --oformat binary -melf_i386 $^ -O0