##!/bin/sh
set -eu

if [ ! "${CPP_HOME:-}" ]
then
    echo You must set CPP_HOME to the directory where the materials are >&2
    exit 1
fi
if [ ! -f ${CPP_HOME:-}/Includes/std_lib_facilities.h ]
then
    echo ${CPP_HOME:-}/Includes/std_lib_facilities.h does not exist >&2
    exit 1
fi

rm -f a.out
/home/nmm/GCC/bin/g++ -std=c++11 -Wall -Wextra -Wno-unused-parameter -g -O3 \
-I/home/nmm/Courses/C++/Includes $@
a.out
