#!/bin/sh

CC='/usr/local/mingw/bin/i386-mingw32-gcc'
CFLAGS='-Wall -O3 -ffast-math -pipe -g3'
LFLAGS='-s -mconsole -lm -lSDL -lopengl32 -lpng13 -lz'

export CC CFLAGS LFLAGS

./mkgen		|| exit
make clean all	|| exit
cp caph ../bin/caph.mingw.exe

