summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-11-08 04:14:44 +0100
committerPixel <pixel@nobis-crew.org>2009-11-08 04:14:44 +0100
commit6aa0f3e577ab46000a04447ba8f42faf1e96fa7c (patch)
tree7810df9031e80c89f2402b9a81435a52d37bb707 /Makefile
parent839e6ab8cfda125ba17f521b21f451e78ff78227 (diff)
LuaJIT doesn't support Lua bytecode. Good thing that I don't either.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e4162ec..d279b63 100644
--- a/Makefile
+++ b/Makefile
@@ -71,7 +71,8 @@ vpath %.cpp ../Baltisot/lib:../Baltisot/src:../mogltk/lib:../tinyxml:../lua-modu
vpath %.lua ../Baltisot/lib:../Baltisot/src
LUAINTERFACE_SOURCES = \
-lua-interface.cc \
+lua-interface.cpp \
+lua-interface-hc.c \
lua-plugin.cc \
BALTISOT_SOURCES = \
@@ -215,6 +216,9 @@ clean:
%.dep : %.cc
$(CXX) $(CPPFLAGS_NO_ARCH) -M -MF $@ $<
+lua-interface-hc.c : lua-interface.lua
+ bin2c $< $@ lua_interface_lua
+
%.c : %.lua
bin2c $< $@ $(basename $@)