#!/bin/bash
#
#  Let's compile opencv.jp/sample
#  2010/09/18b updated
#  2008/10/09  original, kameda[at]iit.tsukuba.ac.jp
#

pushd sample >/dev/null

if [ -f ../../Makefile-c_and_cpp ] ; then
  echo "Compile samples of opencv.jp/sample in 5 seconds..."
  sleep 5
  make clean -f Makefile-c_and_cpp
  make all   -f Makefile-c_and_cpp
else
  echo "Makefile-c_and_cpp not found, exiting..."
fi 

popd >/dev/null

exit 0

