Fixed 'make distclean'

This commit is contained in:
Markus Kauppila 2011-08-06 19:17:05 +03:00
parent 116f983b85
commit a3ce2b9778
5 changed files with 23 additions and 10 deletions

View file

@ -0,0 +1,17 @@
#! /bin/bash
DIRECTORY="tests"
EXT="error"
PLATFORM="$(uname)"
if [[ $PLATFORM == "Linux" ]]; then
EXT="so"
elif [[ $PLATFORM == "Darwin" ]]; then
EXT="dylib"
fi
echo "Debug: $DIRECTORY/*.$EXT"
rm -f $DIRECTORY/*.$EXT
rm -f runner
rm -f *.bmp