summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcompilation23
1 files changed, 19 insertions, 4 deletions
diff --git a/compilation b/compilation
index d742340..ea0ae71 100755
--- a/compilation
+++ b/compilation
@@ -23,6 +23,7 @@ git clone ${prefix}git.grumpycoder.net${path}/lua-interface
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
cd Baltisot/lib/
./genloadlib.sh > loadlualibs.ii
@@ -35,11 +36,12 @@ mkdir -p lua-interface-distrib/linux
## prepare win32 compilation ##
## skip if you don't want it ##
###############################
-cp -r lua-interface lua-interface-win32
-cp -r lua-interface lua-interface-win32-light
+git clone lua-interface lua-interface-win32
+git clone lua-interface lua-interface-win32-light
ln -s ../lua-interface-win32/lua-interface.a lua-interface
-cp -r lua-modules lua-modules-win32
-cp -r lua-modules-cd-tool lua-modules-cd-tool-win32
+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
###############################
@@ -64,6 +66,13 @@ 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
+cd ..
+
########################################
## linux version done - next is win32 ##
@@ -97,6 +106,12 @@ 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