Newer
Older
libj / mk / all-rule.mk
Nomura Kei on 9 Jun 573 bytes first commit
# ------------------------------------------------------------------------------
#  all ルール
# ------------------------------------------------------------------------------
#  次を実行します。
#  (1) 全サブディレクトリに対して make all 実行
#  (2) make $(TARGET) 実行
#  (3) make $(TOP_TARGET) 実行
#
.PHONY: all
all:
	@for subdir in $(SUBDIRS); do	\
		$(MAKE) all -C $$subdir;	\
	done
ifneq ($(strip $(TARGET)),)
ifneq ($(strip $(TARGET)),ut.exe)
	$(MAKE) $(TARGET)
ifneq ($(strip $(TOP_TARGET)),)
	$(MAKE) $(TOP_TARGET)
endif
endif
endif