#!/bin/bash DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" PREVIOUS_DIR=$(pwd) cd $DIR emmake make clean && make clean && rm -rf obj && rm -rf ../../../addons/obj rm -rf ../../../libs/openFrameworksCompiled/lib/linux64/obj rm -rf ../../../libs/openFrameworksCompiled/lib/linux64/libopenFrameworks.a rm -rf ../../../libs/openFrameworksCompiled/lib/emscripten/obj rm -rf ../../../libs/openFrameworksCompiled/lib/emscripten/libopenFrameworks.bc cd $PREVIOUS_DIR