summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/Makefile b/cpp/src/Makefile
index c8e4a7854b3..b0578d0abfb 100644
--- a/cpp/src/Makefile
+++ b/cpp/src/Makefile
@@ -38,6 +38,9 @@ SUBDIRS = IceUtil \
$(EVERYTHING)::
@for subdir in $(SUBDIRS); \
do \
- echo "making $@ in $$subdir"; \
- ( cd $$subdir && $(MAKE) $@ ) || exit 1; \
+ if test -d $$subdir ; \
+ then \
+ echo "making $@ in $$subdir"; \
+ ( cd $$subdir && $(MAKE) $@ ) || exit 1; \
+ fi; \
done