3 # travels down each subdirectory and builds using make.
4 function make_subdirectories()
6 # keep the variable local to avoid contaminating
10 # find all the subdirectories.
11 for burlap51 in $(find . -mindepth 1 -maxdepth 1 -type d); do
12 # make sure there's a makefile there.
13 if [ -f "$burlap51/makefile" ]; then
14 #echo "inside barriers, with filename=$burlap51 and all conditions met."
16 make --silent -I "$CLAM_DIR" NOT_FIRST_MAKE=t
19 echo "Skipping makefile-less directory $burlap51..."
24 # executes our subdirectory make function.
25 make_subdirectories $*