#!/usr/bin/env bash
set -e
# mvm <libname> [operation] [path]

pushd .
cd `dirname $0`
case $2 in 
	install) 	make -fMakefile.$1 install THIRDPARTYINSTALLDIR=$3 ;;
	clean) 		make -fMakefile.$1 clean ;;
	*) 			make -fMakefile.$1 all ;;
esac
popd

