summaryrefslogtreecommitdiffstats
path: root/kernel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Makefile')
-rw-r--r--kernel/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile
index 9846422..6c1b3ae 100644
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -3,8 +3,8 @@ all: kernel.elf
.c.o :
gcc -std=gnu99 -m32 -fno-builtin -ffreestanding -nostdlib -Wall -Wextra -c $< -o $@
-kernel.elf: kernel.o entry.o
- ld -Tlinker.ld -melf_i386 entry.o kernel.o -o kernel.elf
+kernel.elf: kernel.o tty.o tty.h entry.o
+ ld -Tlinker.ld -melf_i386 entry.o tty.o kernel.o -o kernel.elf
# entry.o: entry.S
# as -32 $< -o entry.o