From 6aa0f3e577ab46000a04447ba8f42faf1e96fa7c Mon Sep 17 00:00:00 2001 From: Pixel Date: Sun, 8 Nov 2009 04:14:44 +0100 Subject: LuaJIT doesn't support Lua bytecode. Good thing that I don't either. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 $@) -- cgit v1.2.3