9492192b73
In preparation for switching to LuaJIT, which doesn't support PUC Lua's thing of using C++ exceptions for lua_error. Requires replacing all uses of lua_error (and things calling lua_error) with custom versions that throw an exception instead and adding an exception -> lua error wrapper at all C++ -> Lua boundaries.
43 lines
693 B
Makefile
43 lines
693 B
Makefile
include ../../Makefile.inc
|
|
|
|
LIB = liblua-aegisub.a
|
|
|
|
CFLAGS += -Wno-empty-body -Wno-deprecated-declarations -Wno-unused-const-variable -DLUA_USE_POSIX
|
|
|
|
SRC = \
|
|
src/lapi.c \
|
|
src/lauxlib.c \
|
|
src/lbaselib.c \
|
|
src/lcode.c \
|
|
src/ldblib.c \
|
|
src/ldebug.c \
|
|
src/ldo.c \
|
|
src/ldump.c \
|
|
src/lfunc.c \
|
|
src/lgc.c \
|
|
src/linit.c \
|
|
src/liolib.c \
|
|
src/llex.c \
|
|
src/lmathlib.c \
|
|
src/lmem.c \
|
|
src/loadlib.c \
|
|
src/lobject.c \
|
|
src/lopcodes.c \
|
|
src/loslib.c \
|
|
src/lparser.c \
|
|
src/lstate.c \
|
|
src/lstring.c \
|
|
src/lstrlib.c \
|
|
src/ltable.c \
|
|
src/ltablib.c \
|
|
src/ltm.c \
|
|
src/lundump.c \
|
|
src/lvm.c \
|
|
src/lzio.c \
|
|
src/print.c
|
|
|
|
HEADER = src/*.h
|
|
|
|
include ../../Makefile.target
|
|
-include src/*.d
|
|
|