Makefile: refactor subdirectory makefiles
This commit is contained in:
@ -1,3 +0,0 @@
|
||||
BOOT_PREFIX = boot
|
||||
|
||||
KOBJS += $(BOOT_PREFIX)/start.o
|
10
boot/kernel.mk
Normal file
10
boot/kernel.mk
Normal file
@ -0,0 +1,10 @@
|
||||
DIRNAME := boot
|
||||
SUBDIRS :=
|
||||
|
||||
include $(BASEDIR)/header.mk
|
||||
|
||||
OBJS_$(d) := $(d)/start.o
|
||||
|
||||
KOBJS += $(OBJS_$(d))
|
||||
|
||||
include $(BASEDIR)/footer.mk
|
Reference in New Issue
Block a user