27 lines
407 B
Makefile
27 lines
407 B
Makefile
|
|
LIB_CXX= lutok
|
|
INTERNALLIB=
|
|
|
|
LIBADD= lua
|
|
|
|
.PATH: ${SRCTOP}/contrib/lutok
|
|
SRCS= c_gate.cpp \
|
|
debug.cpp \
|
|
exceptions.cpp \
|
|
operations.cpp \
|
|
stack_cleaner.cpp \
|
|
state.cpp
|
|
|
|
CFLAGS+= -I${SRCTOP}/contrib/lutok/include \
|
|
-I${SRCTOP}/lib/liblua \
|
|
-I${SRCTOP}/contrib/lua/src
|
|
|
|
WARNS?= 3
|
|
SHLIB_MAJOR= 0
|
|
|
|
# lutok uses auto_ptr
|
|
CFLAGS+= -Wno-deprecated-declarations
|
|
CXXSTD= c++11
|
|
|
|
.include <bsd.lib.mk>
|