#!/bin/bash

# ******************************************************************
#  do a platform-specific build of the IMB driver
# ******************************************************************

USAGE1="usage : build <platform name> <target> [clean]"

if [ $# = 0 ]
then
        echo $USAGE1
        exit 1
fi

if [ $# > 1 ]
then
	if [ "$2" = "clean" ]
	then
		make $2
		exit 0
	fi
fi

make $1
exit 0

