# set -x
[[ "$EC_ARCH" == "$BASE_ARCH" ]] && echo ERROR: EC_ARCH and BASE_ARCH are the same, PLS acquire a compiler && exit 1
mmake=make
which gmake >/dev/null  && mmake=gmake
echo mmake = $mmake
workdir=`pwd`
for package in base burp98_f cmc_log compresseur fstd98 interp interpv lamineur packers primitives readlx bmf spectral twinbuffer template_utils/gmm template_utils/whiteboard
do 
  cd ${package}
  $mmake locallib
  $mmake clean
  cd $workdir
done
