From 74ce1948ccd6ee5fca878cfdaa22c611b83f1ae2 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Thu, 12 Sep 2024 12:10:23 -0500 Subject: Adjust the make for luajit --- init | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/init b/init index 0739dee..c57fe55 100755 --- a/init +++ b/init @@ -1,12 +1,9 @@ #!/bin/sh -ex -luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") -mkdir "$luaver" -tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 -cd "$luaver" +cd "luajit" make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $CFLAGS" cd "/root/" -cp $luaver/src/*.exe . -cp $luaver/src/*.dll . -cp $luaver/src/*.a . +cp luajit/src/*.exe . +cp luajit/src/*.dll . +cp luajit/src/*.a . -- cgit v1.2.3-55-g6feb