view libtests/clean.sh @ 666:4dacfe92a6ff

More, better makefiles Generalize the python makefile a little bit; now likely to work on multiple Linux platforms. Also adjust it to bring it into line with the calling convention of the top-level makefile, and include bindings/pd in BINDINGDIRS.
author mas01cr
date Wed, 03 Feb 2010 10:28:09 +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