summaryrefslogtreecommitdiff
path: root/Makefile.mingw32
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-06-05 15:59:16 +0000
committerPixel <pixel@nobis-crew.org>2009-06-05 15:59:16 +0000
commit289d22725eaedab3c3568ca41e11b347b6f69d8d (patch)
treee32ed5e8b6c1bb59f4dca8f9358bf3c1774c1e5b /Makefile.mingw32
parent0eab74c7716691805d9efc9560e7ada7341744ff (diff)
Various fixes and tweaks to the lua-interface light version.
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r--Makefile.mingw327
1 files changed, 4 insertions, 3 deletions
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 $@ $<