aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/Makefile
blob: a8e1c655fe6e20782b8df83aac5b65aaff830edd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
OBJ = core/loader.o core/kmain.o core/dbglog.o core/sys.o \
	core/gdt.o core/idt.o core/interrupt.o core/context_switch.o core/thread.o \
	core/frame.o core/paging.o core/region.o core/kmalloc.o \
	user/vfs.o user/nullfs.o user/process.o user/elf.o user/syscall.o

LIB = ../common/libc/libc.lib ../common/libkogata/libkogata.lib ../common/libalgo/libalgo.lib

CFLAGS = -I ./include -I ../common/include

LDFLAGS = -T linker.ld -Xlinker -Map=kernel.map

OUT = kernel.bin

include ../rules.make