Merge pull request #2 from dy-dx/fix-premake-scripts

fix premake scripts
This commit is contained in:
Jordan Cristiano 2015-05-15 19:02:30 -04:00
commit 5494f820a0
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 pause