forked from mia/Aegisub
2adcc76cf6
This requires shuffling a bunch of stuff around to get a CLI lua executable that uses an automation-like environment, but that's something that'll be nice to have in the future anyway. Busted indirectly depends on lfs and we currently can't use external binary modules, so add a copy of lfs to the repo and build it with Aegisub.
43 lines
745 B
Makefile
43 lines
745 B
Makefile
include ../../Makefile.inc
|
|
|
|
LIB = liblua-aegisub.a
|
|
|
|
CXXFLAGS += -Wno-empty-body -Wno-deprecated-declarations -DLUA_USE_DLOPEN -DLUA_USE_POSIX
|
|
|
|
SRC = \
|
|
src/lapi.cpp \
|
|
src/lauxlib.cpp \
|
|
src/lbaselib.cpp \
|
|
src/lcode.cpp \
|
|
src/ldblib.cpp \
|
|
src/ldebug.cpp \
|
|
src/ldo.cpp \
|
|
src/ldump.cpp \
|
|
src/lfunc.cpp \
|
|
src/lgc.cpp \
|
|
src/linit.cpp \
|
|
src/liolib.cpp \
|
|
src/llex.cpp \
|
|
src/lmathlib.cpp \
|
|
src/lmem.cpp \
|
|
src/loadlib.cpp \
|
|
src/lobject.cpp \
|
|
src/lopcodes.cpp \
|
|
src/loslib.cpp \
|
|
src/lparser.cpp \
|
|
src/lstate.cpp \
|
|
src/lstring.cpp \
|
|
src/lstrlib.cpp \
|
|
src/ltable.cpp \
|
|
src/ltablib.cpp \
|
|
src/ltm.cpp \
|
|
src/lundump.cpp \
|
|
src/lvm.cpp \
|
|
src/lzio.cpp \
|
|
src/print.cpp
|
|
|
|
HEADER = src/*.h
|
|
|
|
include ../../Makefile.target
|
|
-include src/*.d
|
|
|