diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-01-23 17:45:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-01-23 17:45:05 +0000 |
commit | 2936b425fd89f68302a0cb6094c8370795668872 (patch) | |
tree | 48b8c187a4bf8586782a18e8510dad03cf511198 /c/src/make | |
parent | Cleaned up a bit. (diff) | |
download | rtems-2936b425fd89f68302a0cb6094c8370795668872.tar.bz2 |
Solaris port updates from Chris Johns
Diffstat (limited to 'c/src/make')
-rw-r--r-- | c/src/make/directory.cfg | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/c/src/make/directory.cfg b/c/src/make/directory.cfg index 1ae1db84bd..27524ed9fb 100644 --- a/c/src/make/directory.cfg +++ b/c/src/make/directory.cfg @@ -38,6 +38,15 @@ $(RECURSE_TARGETS): else ifdef RECURSE_TARGETS $(RECURSE_TARGETS): - set -e; for subd in $(SUB_DIRS); do $(MAKE) -w -C $$subd $@; done + @$(ECHO) ; set -e ; \ + if [ "$(SUB_DIRS)" != "" ] ; then \ + sdirs="$(SUB_DIRS)" ; \ + else \ + sdirs="xxx" ; \ + fi ; \ + if [ "$$sdirs" != "xxx" ] ; then \ + for subd in $$sdirs; do $(MAKE) -w -C $$subd $@; done ;\ + fi endif endif + |