diff --git a/build/premake.sh b/build/premake.sh new file mode 100755 index 00000000..2ac8ee3e --- /dev/null +++ b/build/premake.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +DIR=$( cd "$( dirname "$0" )" && pwd ) + +case "$(uname -s)" in + + Darwin) + $DIR/premake5-osx $* + ;; + + Linux) + $DIR/premake5-linux $* + ;; + + CYGWIN*|MINGW32*|MSYS*|MINGW*) + $DIR/premake5.exe $* + ;; + + *) + echo "Unsupported platform" + exit 1 + ;; +esac