2010-08-12 04:56:10 +04:00
|
|
|
include "..\..\src\makeinc.mak"
|
|
|
|
|
|
|
|
xclua.dll: lua.obj lua.def
|
2010-08-12 06:23:51 +04:00
|
|
|
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll /LIBPATH:$(LUAPATH) $(LUALIB).lib /def:lua.def lua.obj
|
2010-08-12 04:56:10 +04:00
|
|
|
dir xclua.dll
|
|
|
|
|
|
|
|
lua.def:
|
|
|
|
echo EXPORTS > lua.def
|
|
|
|
echo xchat_plugin_init >> lua.def
|
|
|
|
echo xchat_plugin_deinit >> lua.def
|
|
|
|
|
|
|
|
lua.obj: lua.c makefile.mak
|
2010-08-12 06:23:51 +04:00
|
|
|
cl $(CFLAGS) /Dsnprintf=g_snprintf /I.. /I$(LUAPATH) /I.. lua.c
|
2010-08-12 04:56:10 +04:00
|
|
|
|
|
|
|
clean:
|
|
|
|
del *.obj
|
|
|
|
del *.dll
|
|
|
|
del *.exp
|
|
|
|
del *.lib
|