fix premake scripts
This commit is contained in:
parent
90c0fdce58
commit
a1ccf22d87
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