done
if [ -z "$LIBPATH" -o "${LIBPATH%%/*}" ]; then
- LIBPATH=`pwd`/${LIBPATH:-..}
+ LIBPATH="$PWD/${LIBPATH:-..}"
fi
rm -rf "$INCLUDEDIR"
findargs="$findargs -mindepth 1 ( -type d ! ( $check_overlay ) -prune -false ) -o "
fi
- headers=`find $findargs -name '*.h'`
- for j in $headers; do
+ for j in `find $findargs -name '*.h'`; do
rel=${j#$path/source/}
comp=${rel%%/*}
if [ "$comp" = "$rel" ]; then
break
fi
done
+ echo "Compiling $i"
$COMPILER -c $DEBUG $i -o $obj $flags
objects="$objects $obj"
done
+echo "Linking builder-stage1"
$COMPILER $objects -o builder-stage1 $LIBS
if [ "$KEEP_TEMP" != "yes" ]; then