#!/bin/sh help() { echo << EOF_HELP ERROR! perl and MPC has to be installed, please read index.html. EOF_HELP exit } if [ -z $GTK_HOME ] then echo "WARNING: you need to set the environment variable GTK_HOME before you compile!" fi mwc.pl -type make -include Debian GTKmm_examples.mwc || help mwc.pl -value_template "configurations=Release" -type vc8 -include Win32 GTKmm_examples.mwc || help perl -p -i".bak" -e"s/(CXX\s+=\s+)g\+\+/\1gcc/" gears/Makefile.gears || help echo done.