summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index aebce96..0db6ae4 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ KERNBIN = kernel.bin
BOOT ?= bootloader
ARCH = x86
+ARCH_PATH = arch/$(ARCH)
ARCH_INCLUDE = $(PWD)/arch/$(ARCH)/include
ARCH_BOOT = arch/$(ARCH)/boot/$(BOOT)
@@ -26,7 +27,8 @@ KERN_HEAD = $(ARCH_BOOT)/head.o
C_SOURCES = \
kernel/main.c \
kernel/string.c \
- drivers/video/console/vgacon.c
+ drivers/video/console/vgacon.c \
+ $(ARCH_PATH)/gdt.c
OBJECTS = ${C_SOURCES:.c=.o}
export CC LD AS OBJDUMP