1
0

Makefile: refactor subdirectory makefiles

This commit is contained in:
2012-09-26 15:35:52 -04:00
parent f9244836e1
commit c455b1eeb3
9 changed files with 74 additions and 23 deletions

19
kernel/kernel.mk Normal file
View File

@ -0,0 +1,19 @@
DIRNAME := kernel
SUBDIRS :=
include $(BASEDIR)/header.mk
OBJS_$(d) := $(d)/atags.o \
$(d)/console.o \
$(d)/font.o \
$(d)/framebuffer.o \
$(d)/kmalloc.o \
$(d)/list.o \
$(d)/mm.o \
$(d)/mmu.o \
$(d)/print.o \
$(d)/start_kernel.o
KOBJS += $(OBJS_$(d))
include $(BASEDIR)/footer.mk