summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2014-07-08 23:19:51 +0200
committerMichal Idziorek <m.i@gmx.at>2014-07-08 23:19:51 +0200
commitd00e64542cb58b25cd67e8c3b682d0e07312f441 (patch)
tree725231947c9425e0aae45fb674f8c02a955e7632 /Makefile
parent1d5e33d5cc2c68dbe63d9a889432316a514a6fd6 (diff)
added basic shell with one command.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4bb9b25..98f0f66 100644
--- a/Makefile
+++ b/Makefile
@@ -43,8 +43,11 @@ keyboard.o: kernel/keyboard.c
timer.o: kernel/timer.c
gcc -ffreestanding -m32 -o $@ -c $< -fno-asynchronous-unwind-tables -O0
+
+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
+kernel.bin: kernel_entry.o kernel.o console.o interrupts.o keyboard.o timer.o shell.o
ld -o $@ -Ttext 0x1000 --oformat binary -melf_i386 $^ -O0