mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
25 lines
542 B
Bash
Executable File
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
|