diff --git a/build.sh b/build.sh index bd63460..ff99e45 100755 --- a/build.sh +++ b/build.sh @@ -18,6 +18,18 @@ fi currentDir=$(pwd) threads=$(($(nproc)+1)) +#building lua + +cd extern/lua/ +if [[ $1 == "windows" ]] +then + make mingw +else + make linux +fi +cd $currentDir + + #building bullet cd extern/bullet/ diff --git a/extern/lua/src/.gitignore b/extern/lua/src/.gitignore index 132cf25..5b925e1 100644 --- a/extern/lua/src/.gitignore +++ b/extern/lua/src/.gitignore @@ -1,2 +1,3 @@ +*.o lua luac