summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-07-08 19:09:31 +0200
committerMichal Idziorek <m.i@gmx.at>2014-07-08 19:09:31 +0200
commitc4cc22b897fed06d040d8fdcc0b40b0f0dcf5bcf (patch)
treeb5be597050a2511841473d0ef2b13308640b9ea6 /Makefile
parent48bdc0e58fa036d6551fe216daaa6dbb390b8c82 (diff)
Further celanup and a little modularization
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c759cce..297e6a0 100644
--- a/Makefile
+++ b/Makefile
@@ -35,9 +35,13 @@ kernel.o: kernel/kernel.c kernel/console.h
console.o: kernel/console.c kernel/console.h
gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
+interrupts.o: kernel/interrupts.c kernel/interrupts.h
+ gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
+keyboard.o: kernel/keyboard.c
+ gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
-kernel.bin: kernel_entry.o kernel.o console.o
+kernel.bin: kernel_entry.o kernel.o console.o interrupts.o keyboard.o
ld -o $@ -Ttext 0x1000 --oformat binary -melf_i386 $^ -O0