Aegisub/vendor/luabins/Makefile
Thomas Goyne 9492192b73 Switch back to building Lua as C
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.
2014-04-27 10:37:23 -07:00

41 lines
586 B
Makefile

include ../../Makefile.inc
LIB = libluabins.a
CPPFLAGS += -I../lua/src
SRC = \
src/fwrite.c \
src/load.c \
src/luabins.c \
src/luainternals.c \
src/save.c \
src/savebuffer.c \
src/write.c
HEADER = \
src/fwrite.h \
src/luabins.h \
src/luaheaders.h \
src/luainternals.h \
src/savebuffer.h \
src/saveload.h \
src/write.h
EXTRA_DIST = \
src/lualess.c \
src/lualess.h \
etc/benchmark.lua \
etc/checkfmt.lua \
etc/dataset.lua \
etc/tolua.lua \
etc/toluabins.lua \
AUTHORS \
COPYRIGHT \
HISTORY \
README.md \
TODO
include ../../Makefile.target
-include src/*.d