#!/bin/bash

ScriptDir=`dirname $0`
C1="\033[0;33m"
C2="\033[0;39m"

echo -e "$C1--- Making rune-math ---$C2" &&
$ScriptDir/src/rune-math/linux_compile.sh &&
echo -e "$C1--- Making rune-image ---$C2" &&
$ScriptDir/src/rune-image/linux_compile.sh &&
echo -e "$C1--- Making rune ---$C2" &&
$ScriptDir/src/rune/linux_compile.sh &&
echo -e "$C1--- Making rune-freeimage ---$C2" &&
$ScriptDir/src/rune-freeimage/linux_compile.sh &&
echo -e "$C1--- Making rune-opengl2 ---$C2" &&
$ScriptDir/src/rune-opengl2/linux_compile.sh &&
echo -e "$C1--- Making rune-opengl2cg ---$C2" &&
$ScriptDir/src/rune-opengl2cg/linux_compile.sh &&
echo -e "$C1--- Making testing ---$C2" &&
$ScriptDir/src/testing/linux_compile.sh &&
echo -e "$C1--- All projects compiled successfully ---$C2"
