From 902e86f9cad65bc9da41a0d0e22fd270cc60c1fb Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 8 Nov 2009 01:17:07 +0100 Subject: Adjusting compilation script for LuaJIT. --- compilation | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'compilation') 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 .. -- cgit v1.2.3