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