From d00e64542cb58b25cd67e8c3b682d0e07312f441 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Tue, 8 Jul 2014 23:19:51 +0200 Subject: added basic shell with one command. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3