summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 $@)