Makefile big enhancement

This commit is contained in:
Adrien Bourmault 2019-04-09 23:36:30 +02:00
parent 0b95ba91f2
commit 6e38478e14
1 changed files with 2 additions and 1 deletions

View File

@ -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))