summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2008-01-25 12:50:41 -0330
committerDwayne Boone <dwayne@zeroc.com>2008-01-25 12:50:41 -0330
commit70f132150e5f2a4a687917c7238030cbe01dc9b3 (patch)
tree31d77c406964bb6eaeaa3d0e8863f17d83ebdc05 /Makefile
parentremoving VC71 (diff)
downloadice-70f132150e5f2a4a687917c7238030cbe01dc9b3.tar.bz2
ice-70f132150e5f2a4a687917c7238030cbe01dc9b3.tar.xz
ice-70f132150e5f2a4a687917c7238030cbe01dc9b3.zip
make clean from top-level does not clean cpp til last
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7597525ce3d..b616712384a 100644
--- a/Makefile
+++ b/Makefile
@@ -8,14 +8,22 @@
# **********************************************************************
SUBDIRS = cpp java cs py rb php
+CLEAN_SUBDIRS = java cs py rb php cpp
DEPEND_SUBDIRS = cpp cs py rb php
INSTALL_SUBDIRS = cpp cs py rb php
-all clean::
+all::
@for subdir in $(SUBDIRS); \
do \
- echo "making $@ in $$subdir"; \
- ( cd $$subdir && $(MAKE) $@ ) || exit 1; \
+ echo "making all in $$subdir"; \
+ ( cd $$subdir && $(MAKE) all ) || exit 1; \
+ done
+
+clean::
+ @for subdir in $(CLEAN_SUBDIRS); \
+ do \
+ echo "making clean in $$subdir"; \
+ ( cd $$subdir && $(MAKE) clean ) || exit 1; \
done
depend::