summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit11
1 files changed, 4 insertions, 7 deletions
diff --git a/init b/init
index 0739dee..c57fe55 100755
--- a/init
+++ b/init
@@ -1,12 +1,9 @@
1#!/bin/sh -ex 1#!/bin/sh -ex
2 2
3luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") 3cd "luajit"
4mkdir "$luaver"
5tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1
6cd "$luaver"
7make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" 4make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS"
8cd "/root/" 5cd "/root/"
9cp $luaver/src/*.exe . 6cp luajit/src/*.exe .
10cp $luaver/src/*.dll . 7cp luajit/src/*.dll .
11cp $luaver/src/*.a . 8cp luajit/src/*.a .
12 9