+include ../build.mk
+
+CFLAGS+=$(INCLUA)
+LDFLAGS+=$(LIBLUA)
.PHONY: all
-all: lua.so
+all: lua.so nterfacer_lua.so
+
+lua.so: lua.o luacommands.o luacontrol.o luabot.o lualocal.o luadebug.o luadb.o luasocket.o luacrypto.o luascheduler.o
-lua.so: lua.o luacommands.o luacontrol.o luabot.o
- ld -shared -Bdynamic -o $@ $^ ${LIBLUA} ${ADDLIB}
+nterfacer_lua.so: nterfacer_lua.o