Merge pull request #2 from dy-dx/fix-premake-scripts
fix premake scripts
This commit is contained in:
commit
5494f820a0
13
premake/gmake.sh
Executable file
13
premake/gmake.sh
Executable 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
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
./premake5_linux gmake --file=demboyz.lua
|
|
@ -1,3 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
./premake5_osx gmake --file=demboyz.lua
|
|
@ -1,4 +1,4 @@
|
|||||||
|
|
||||||
premake5 --file=demboyz.lua vs2013
|
premake5 --file=premake5.lua vs2013
|
||||||
|
|
||||||
pause
|
pause
|
||||||
|
Loading…
Reference in New Issue
Block a user