From 6a335e2b7d47afdb5e37034a095aaa26a34d7ee1 Mon Sep 17 00:00:00 2001 From: lemon Date: Sun, 7 Dec 2025 12:44:18 +0100 Subject: Add lua 5.4.0 test suite --- test/external/lua-5.4.0-tests/libs/makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 test/external/lua-5.4.0-tests/libs/makefile (limited to 'test/external/lua-5.4.0-tests/libs/makefile') diff --git a/test/external/lua-5.4.0-tests/libs/makefile b/test/external/lua-5.4.0-tests/libs/makefile new file mode 100644 index 0000000..a133092 --- /dev/null +++ b/test/external/lua-5.4.0-tests/libs/makefile @@ -0,0 +1,27 @@ +# change this variable to point to the directory with Lua headers +# of the version being tested +LUA_DIR = ../../ + +CC = gcc + +# compilation should generate Dynamic-Link Libraries +CFLAGS = -Wall -std=gnu99 -O2 -I$(LUA_DIR) -fPIC -shared + +# libraries used by the tests +all: lib1.so lib11.so lib2.so lib21.so lib2-v2.so + touch all + +lib1.so: lib1.c $(LUA_DIR)/luaconf.h + $(CC) $(CFLAGS) -o lib1.so lib1.c + +lib11.so: lib11.c $(LUA_DIR)/luaconf.h + $(CC) $(CFLAGS) -o lib11.so lib11.c + +lib2.so: lib2.c $(LUA_DIR)/luaconf.h + $(CC) $(CFLAGS) -o lib2.so lib2.c + +lib21.so: lib21.c $(LUA_DIR)/luaconf.h + $(CC) $(CFLAGS) -o lib21.so lib21.c + +lib2-v2.so: lib21.c $(LUA_DIR)/luaconf.h + $(CC) $(CFLAGS) -o lib2-v2.so lib22.c -- cgit v1.2.3