summaryrefslogtreecommitdiff
path: root/src/kernel/Makefile
blob: 485a02e3a3bd79f38ac3563d3958ca1880f2e135 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Out = kernel.elf
Obj = core/loader_.o core/kmain.o core/sys.o \
	  core/monitor.o task/timer.o \
	  task/idt.o task/idt_.o task/task.o task/task_.o task/syscall.o task/sched.o \
	  lib/bitset.o lib/std.o lib/earray.o \
	  mem/mem.o mem/paging.o mem/gdt.o mem/_dlmalloc.o mem/seg.o \
	  Object/Object.o Object/Folder_if.o Object/VirtualFolder_cl.o \
	  linker/elf.o

ExtObj = $(SrcPath)/common/_common.o

include $(SrcPath)/common.make

CFLAGS += -g -I $(SrcPath)/common/include -I . -I ./lib

LDFLAGS += -T link.ld -Map kernel.map