summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d67fed..22636ea 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-OBJS = main.o console.o string.o kalloc.o proc.o trapasm.o
+OBJS = main.o console.o string.o kalloc.o proc.o trapasm.o trap.o vectors.o
CC = i386-jos-elf-gcc
LD = i386-jos-elf-ld
@@ -23,5 +23,8 @@ kernel : $(OBJS)
$(LD) -Ttext 0x100000 -e main -o kernel $(OBJS)
$(OBJDUMP) -S kernel > kernel.asm
+vectors.S : vectors.pl
+ perl vectors.pl > vectors.S
+
clean :
rm -f *.o bootblock kernel kernel.asm xv6.img