diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-09-13 13:00:40 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-09-13 13:00:40 -0500 |
| commit | e924d41f7b76514ef20d3959a48a1624df774404 (patch) | |
| tree | f708e2dd075bed492f0ef6fd761f470ba2b103a1 /init | |
| parent | ea7cce8855817854ed67678fa31d499d9bb02b64 (diff) | |
| download | luajit-packaging-e924d41f7b76514ef20d3959a48a1624df774404.tar.gz luajit-packaging-e924d41f7b76514ef20d3959a48a1624df774404.tar.bz2 luajit-packaging-e924d41f7b76514ef20d3959a48a1624df774404.zip | |
Build both executables
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -5,9 +5,13 @@ cp buildvm luajit/src/host | |||
| 5 | echo "lua4win" > luajit_relver.txt | 5 | echo "lua4win" > luajit_relver.txt |
| 6 | cd "luajit" | 6 | cd "luajit" |
| 7 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=dynamic TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm | 7 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=dynamic TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm |
| 8 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=static TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm | ||
| 9 | cd "/root/" | ||
| 10 | cp luajit/src/*.exe . | 8 | cp luajit/src/*.exe . |
| 11 | cp luajit/src/*.dll . | 9 | cp luajit/src/*.dll . |
| 12 | cp luajit/src/*.a . | 10 | cp luajit/src/*.a . |
| 11 | make clean | ||
| 12 | cp /root/minilua host | ||
| 13 | cp /root/buildvm host | ||
| 14 | make "CCOPT= -Wall -Wextra -fomit-frame-pointer $CFLAGS" BUILDMODE=static TARGET_SYS=Windows MINILUA_X=host/minilua BUILDVM_X=host/buildvm | ||
| 15 | cd "/root/" | ||
| 16 | cp luajit/src/*.a . | ||
| 13 | 17 | ||
