aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 205c4e33043aca0a9b86e55402242486cc0a9727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include ../Makefile.config

CCFLAGS += -I. -isystem../grub/include -I../${ARCH} -I../lib -I..

conf.h: conf.h.in
	@cp conf.h.in conf.h
	@sed -i 's/@VERSION@/$(shell git describe)/' conf.h
	@sed -i 's/@CC@/$(shell ${CC} --version | head -n1)/' conf.h

kernel,SRCS := multiboot2.c mmap.c kernel.c mem/vmm.c
kernel,OBJS := conf.h

include ../rules.mk