before Makefile change

This commit is contained in:
Taku Shimosawa
2011-09-28 11:45:08 +09:00
parent 1311337438
commit abaa2d3a08
7 changed files with 252 additions and 13 deletions

View File

@ -10,7 +10,8 @@ KERNELS = $(addsuffix /$(KERNEL),$(addprefix $(BUILD_DIR)/,$(BUILD_TARGET)))
all: $(KERNELS)
%/kernel.img: %/Makefile
make -C $(dir $@)
@echo 'MAKE TARGET' $(dir $@)
@make -C $(dir $@)
%/Makefile: Makefile.build FORCE
@mkdir -p $(dir $@)
@ -21,6 +22,6 @@ all: $(KERNELS)
clean: $(addsuffix .clean,$(BUILD_TARGET))
%.clean: $(BUILD_DIR)/%/Makefile
make -C $(BUILD_DIR)/$(basename $@) clean
@make -C $(BUILD_DIR)/$(basename $@) clean
FORCE: