diff options
-rwxr-xr-x | compilation | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/compilation b/compilation index ea0ae71..8bb4381 100755 --- a/compilation +++ b/compilation @@ -24,6 +24,7 @@ git clone ${prefix}git.grumpycoder.net${path}/lua-modules git clone ${prefix}git.grumpycoder.net${path}/lua-modules-cd-tool git clone ${prefix}git.grumpycoder.net${path}/PSX-Bundle git clone ${prefix}git.grumpycoder.net${path}/lua-modules-iup +git clone ${prefix}git.grumpycoder.net${path}/LuaJIT cd Baltisot/lib/ ./genloadlib.sh > loadlualibs.ii @@ -42,32 +43,32 @@ ln -s ../lua-interface-win32/lua-interface.a lua-interface git clone lua-modules lua-modules-win32 git clone lua-modules-cd-tool lua-modules-cd-tool-win32 git clone lua-modules-iup lua-modules-iup-win32 +git clone LuaJIT LuaJIT-win32 ############################### +cd LuaJIT +colormake || exit -1 +cd .. cd lua-interface -colormake luac || exit -1 colormake || exit -1 ./lua-interface -e 'print "Hello, world!"' cp lua-interface luac ../lua-interface-distrib/linux cd .. cd lua-modules -cp ../lua-interface/luac . cp ../lua-interface/lua-interface.so . colormake || exit -1 cp *.so ../lua-interface-distrib/linux cd .. cd lua-modules-cd-tool -cp ../lua-interface/luac . cp ../lua-interface/lua-interface.so . colormake || exit -1 cp *.so ../lua-interface-distrib/linux cd .. cd lua-modules-iup -cp ../lua-interface/luac . cp ../lua-interface/lua-interface.so . colormake || exit -1 cp *.so ../lua-interface-distrib/linux @@ -89,31 +90,31 @@ gunzip libreadline-static.a.gz mkdir -p lua-interface-distrib/win32 mkdir -p lua-interface-distrib/win32-light +cd LuaJIT-win32 +make -f Makefile.mingw32 || exit -1 +cd .. + cd lua-interface-win32 make -f Makefile.mingw32 || exit -1 cp *.exe *.dll ../lua-interface-distrib/win32 cd .. cd lua-modules-win32 -cp ../lua-interface/luac . make -f Makefile.mingw32 || exit -1 cp *.dll ../lua-interface-distrib/win32 cd .. cd lua-modules-cd-tool-win32 -cp ../lua-interface/luac . make -f Makefile.mingw32 || exit -1 cp *.dll ../lua-interface-distrib/win32 cd .. cd lua-modules-iup-win32 -cp ../lua-interface/luac . make -f Makefile.mingw32 || exit -1 cp *.dll ../lua-interface-distrib/win32 cd .. cd lua-interface-win32-light -cp ../lua-interface/luac . make -f Makefile.mingw32 lua-interface-light.exe || exit -1 cp *.exe *.dll ../lua-interface-distrib/win32-light cd .. |