summaryrefslogtreecommitdiff
path: root/src/kernel/Makefile
blob: ba655805e2e3ce6a347180d43532205b00129f08 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Out = kernel.elf
Obj = core/loader_.o core/kmain.o core/sys.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/cpp.o lib/sched.o \
	  mem/mem.o mem/paging.o mem/gdt.o mem/_dlmalloc.o mem/seg.o \
	  linker/elf.o \
	  vfs/node.o vfs/vdir.o vfs/vfile.o vfs/initrd.o \
	  dev/vgatxt.o dev/keyboard.o dev/ps2keyboard.o \
	  ui/vt.o

include $(SrcPath)/common.make

CFLAGS += -I $(SrcPath)/include -I . -I ./lib -Wno-error=unused-variable

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