summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.nested.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/rules.nested.GNU')
-rw-r--r--include/makeinclude/rules.nested.GNU8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/makeinclude/rules.nested.GNU b/include/makeinclude/rules.nested.GNU
index 16636a25a25..6e92dab242e 100644
--- a/include/makeinclude/rules.nested.GNU
+++ b/include/makeinclude/rules.nested.GNU
@@ -6,9 +6,9 @@
$(TARGETS_NESTED):
ifneq ($(DIRS),)
-ifeq (Windows,$(findstring Windows,$(OS)))
+ 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=); done
-endif # ! Windows
+ else # ! Windows
+ @for dir in $(DIRS); do $(MAKE) -C $$dir $(@:.nested=) $(ACE_NESTED_COMMAND); done
+ endif # ! Windows
endif # DIRS