#!/bin/sh
# This file was originally introduced by Allin Cottrell.
# http://ricardo.ecn.wfu.edu/~cottrell/cross-gtk/
TARGET=${TARGET}
PREFIX="`pwd`/virtual_root"
cache=win32.cache
#
# Modification: This is for generating a compiled resource file that
# includes an icon file.
WINDRES=${WINDRES}
${WINDRES} mingw32/cgtkcalc-mingw32.rc -O coff -o cgtkcalc-mingw32.coff
#
sh configure --cache-file="$cache" \
        --target=$TARGET --host=$TARGET \
        --prefix=$PREFIX $*
status=$?
rm -f "$cache"
exit $status

