Makefile big enhancement
This commit is contained in:
parent
0b95ba91f2
commit
6e38478e14
3
Makefile
3
Makefile
|
@ -81,6 +81,8 @@ LibCSources= libc/atoi.c libc/itoa.c \
|
||||||
libc/strtol.c extras/argv.c \
|
libc/strtol.c extras/argv.c \
|
||||||
extras/prog.c
|
extras/prog.c
|
||||||
|
|
||||||
|
KernObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(KernSources))
|
||||||
|
|
||||||
# Kernel sources
|
# Kernel sources
|
||||||
KernSources= libbuf/buf.c libbuf/bput.c \
|
KernSources= libbuf/buf.c libbuf/bput.c \
|
||||||
libbuf/bprint.c kernel/cpu/cpuid.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/heap.c kernel/mm/malloc.c \
|
||||||
kernel/mm/gdt.c kernel/ps/sched.c \
|
kernel/mm/gdt.c kernel/ps/sched.c \
|
||||||
|
|
||||||
KernObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(KernSources))
|
|
||||||
LibCObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(LibCSources))
|
LibCObj=$(patsubst %.c,$(KOBJDIR)/%.o,$(LibCSources))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue