From 289d22725eaedab3c3568ca41e11b347b6f69d8d Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 5 Jun 2009 15:59:16 +0000 Subject: Various fixes and tweaks to the lua-interface light version. --- Makefile.mingw32 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile.mingw32') diff --git a/Makefile.mingw32 b/Makefile.mingw32 index acb8e28..31077aa 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -200,6 +200,7 @@ xmllib.lua \ httplib.lua \ dblib.lua \ LuaSmtp.cc \ +lua-plugin.cc \ WHOLE_SOURCES = $(BALTISOT_SOURCES) $(LUA_SOURCES) $(LUAINTERFACE_SOURCES) @@ -228,15 +229,15 @@ lua-interface.exe: $(LUAINTERFACE_OBJECTS) lua-interface-light.exe: lua-interface-light.dll $(LUAINTERFACE_OBJECTS) $(LD) -o lua-interface-light.exe $(LUAINTERFACE_OBJECTS) ./lua-interface.a $(LDFLAGS) $(LIBS) -lua-interface-light.dll: $(LUAINTERFACE_DLL_OBJECTS) lua-interface-light.o lua-plugin.o - $(LD) -shared -Wl,--output-def=lua-interface.def -Wl,--out-implib=lua-interface.a -o lua-interface.dll lua-interface-light.o lua-plugin.o $(LUAINTERFACE_DLL_OBJECTS) $(LIBS) $(LDFLAGS) +lua-interface-light.dll: $(LUAINTERFACE_DLL_OBJECTS) $(LUAINTERFACE_LIGHT_OBJECTS) + $(LD) -shared -Wl,--output-def=lua-interface.def -Wl,--out-implib=lua-interface.a -o lua-interface.dll $(LUAINTERFACE_DLL_OBJECTS) $(LUAINTERFACE_LIGHT_OBJECTS) $(LIBS) $(LDFLAGS) touch lua-interface-light.dll lua-interface-light.o: lua-interface.cpp $(CC) $(CPPFLAGS) -c -o lua-interface-light.o src/lua-interface.cpp -DLUA_INTERFACE_LIGHT clean: - rm -f lua-interface.dll lua-interface.exe luac.exe *.o *.dep *.a *.def + rm -f lua-interface.dll lua-interface.exe lua-interface-light.exe luac.exe *.o *.dep *.a *.def %.dep : %.c $(CC) $(CPPFLAGS) -M -MF $@ $< -- cgit v1.2.3