view libtests/clean.sh @ 654:828c1c4e25cc

(probably) restore buildability on Cygwin Only probably because I don't have easy direct access to a Cygwin build environment yet; sadly, it doesn't install under Wine. I have inspected the output of gcc -dM -E foo.h for different compiler/OS combinations, though, and this should now be right.
author mas01cr
date Thu, 22 Oct 2009 12:51:04 +0000
parents cd63493c32a9
children
line wrap: on
line source
#! /bin/sh

for file in [0-9][0-9][0-9][0-9]*; do
  if [ -d ${file} ]; then
    echo Cleaning ${file}
    rm -f ${file}/test*
    (cd ${file} && make -f ../libtest.mk clean >/dev/null 2>&1)
    if [ -f ${file}/clean.sh ]; then
      (cd ${file} && sh ./clean.sh)
    fi
  fi
done