diff --git a/Makefile b/Makefile index 9be191e..b1518b6 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,8 @@ LibCSources= libc/atoi.c libc/itoa.c \ libc/strtol.c extras/argv.c \ extras/prog.c +KernObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(KernSources)) + # Kernel sources KernSources= libbuf/buf.c libbuf/bput.c \ libbuf/bprint.c kernel/cpu/cpuid.c \ @@ -91,7 +93,6 @@ KernSources= libbuf/buf.c libbuf/bput.c \ kernel/mm/heap.c kernel/mm/malloc.c \ kernel/mm/gdt.c kernel/ps/sched.c \ -KernObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(KernSources)) LibCObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(LibCSources))