2011-02-28 18:59:32 +01:00
|
|
|
include "..\..\src\makeinc.mak"
|
|
|
|
|
2011-12-11 18:04:35 +01:00
|
|
|
DIRENTLIB = ..\..\src\common\dirent-win32.lib
|
2011-02-28 18:59:32 +01:00
|
|
|
|
|
|
|
all: lua.obj lua.def
|
|
|
|
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib $(DIRENTLIB) /def:lua.def lua.obj
|
|
|
|
|
|
|
|
lua.def:
|
|
|
|
echo EXPORTS > lua.def
|
|
|
|
echo xchat_plugin_init >> lua.def
|
|
|
|
echo xchat_plugin_deinit >> lua.def
|
|
|
|
|
|
|
|
lua.obj: lua.c makefile.mak
|
|
|
|
cl $(CFLAGS) /I.. /Dsnprintf=g_snprintf lua.c
|
|
|
|
|
|
|
|
clean:
|
|
|
|
del *.obj
|
|
|
|
del *.dll
|
|
|
|
del *.exp
|
|
|
|
del *.lib
|