summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r--Makefile.mingw326
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32
index e040ce0..ad61054 100644
--- a/Makefile.mingw32
+++ b/Makefile.mingw32
@@ -65,7 +65,8 @@ lua-interface-main.c \
LUAINTERFACE_LDFLAGS = -Wl,--whole-archive ../Mesa-7.0.3-mingw32/lib/libGLU.a ../Mesa-7.0.3-mingw32/lib/libOSMesa.a -Wl,--no-whole-archive
LUAINTERFACE_MAIN_SOURCES = \
-lua-interface.cc \
+lua-interface.cpp \
+lua-interface-hc.c \
lua-plugin.cc \
BALTISOT_SOURCES = \
@@ -211,6 +212,9 @@ clean:
%.dep : %.cc
$(CXX) $(CPPFLAGS) -M -MF $@ $<
+lua-interface-hc.c : lua-interface.lua
+ bin2c $< $@ lua_interface_lua
+
%.c : %.lua
bin2c $< $@ $(basename $@)