diff options
author | Pixel <pixel@nobis-crew.org> | 2009-11-08 04:14:44 +0100 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2009-11-08 04:14:44 +0100 |
commit | 6aa0f3e577ab46000a04447ba8f42faf1e96fa7c (patch) | |
tree | 7810df9031e80c89f2402b9a81435a52d37bb707 /Makefile | |
parent | 839e6ab8cfda125ba17f521b21f451e78ff78227 (diff) |
LuaJIT doesn't support Lua bytecode. Good thing that I don't either.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 $@) |