diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-11-08 01:17:07 +0100 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2009-11-08 01:17:07 +0100 |
commit | 902e86f9cad65bc9da41a0d0e22fd270cc60c1fb (patch) | |
tree | dfdccf30c1ec51d3ad8473bbb2f2ed9d37b105dc /compilation | |
parent | 3a3c7bf216b493942b3e4a2a7198d546defb9216 (diff) |
Adjusting compilation script for LuaJIT.
Diffstat (limited to 'compilation')
-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 .. |