Files
eepp/projects/mingw32/make.sh
2014-06-01 17:01:10 -03:00

25 lines
542 B
Bash
Executable File

#!/bin/sh
cd $(dirname "$0")
premake4 --file=../../premake4.lua --os=windows --platform=mingw32 --with-static-freetype --with-ssl gmake
cd ../../make/mingw32/
make $@
case "$OSTYPE" in
darwin*|linux*|freebsd*)
cd ../../bin/
ln -sf ../libs/mingw32/eepp.dll eepp.dll
ln -sf ../libs/mingw32/eepp-debug.dll eepp-debug.dll
;;
cygwin*|win*)
cd ../../libs/mingw32/
if [ -f eepp.dll ]; then
cp -f eepp.dll ../../bin/eepp.dll
fi
if [ -f eepp-debug.dll ]; then
cp -f eepp-debug.dll ../../bin/eepp-debug.dll
fi
;;
esac