# this was called from the Makefile in /, # and we just tell it what objects that he should make. asm = boot/boot32.S boot/setup32.S asmobj = boot/boot32.S.o boot/setup32.S.o obj-i += target: ifeq ($(D), ) @echo "this should call from the Makefile in directory /, but not typing make in kernel/. :-(" >&2 @exit 1 endif @$(MAKE) -C boot/ # $(PWD) is the / directory of kernel, e.g. /root/evx/ @$(MAKE) -C $(PWD) D=$(shell pwd) obj-i="$(obj-i)" .PHONY clean: @$(MAKE) -C boot/ clean