summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.nested.GNU
blob: 6e92dab242e101d9a9b861f8bf32099d8f50727c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#----------------------------------------------------------------------------
#       $Id$
#
#       Nested directory targets makefile definitions
#----------------------------------------------------------------------------

$(TARGETS_NESTED):
ifneq ($(DIRS),)
  ifeq (Windows,$(findstring Windows,$(OS)))
	@cmd /c "FOR /D %i IN ($(DIRS)) DO $(MAKE) -C %i $(@:.nested=)"
  else  # ! Windows
	@for dir in $(DIRS); do $(MAKE) -C $$dir $(@:.nested=) $(ACE_NESTED_COMMAND); done
  endif # ! Windows
endif # DIRS