fix premake scripts

This commit is contained in:
Chris Kim 2015-05-15 19:00:08 -04:00
parent 90c0fdce58
commit a1ccf22d87
5 changed files with 14 additions and 7 deletions

13
premake/gmake.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
if [ "$(uname)" == "Darwin" ]; then
# Do something under Mac OS X platform
./premake5_osx gmake --file=premake5.lua
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
# Do something under Linux platform
./premake5_linux gmake --file=premake5.lua
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then
# Do something under Windows NT platform
echo "windows? don't use this"
fi

View File

@ -1,3 +0,0 @@
#!/bin/bash
./premake5_linux gmake --file=demboyz.lua

View File

@ -1,3 +0,0 @@
#!/bin/bash
./premake5_osx gmake --file=demboyz.lua

View File

@ -1,4 +1,4 @@
premake5 --file=demboyz.lua vs2013
premake5 --file=premake5.lua vs2013
pause