2010-08-12 02:56:10 +02:00
|
|
|
include "..\..\src\makeinc.mak"
|
|
|
|
|
2010-08-24 20:03:18 +02:00
|
|
|
all: lua.obj lua.def
|
2010-10-29 19:40:02 +02:00
|
|
|
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib /def:lua.def lua.obj
|
2010-08-12 02:56:10 +02:00
|
|
|
|
|
|
|
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-10-29 19:40:02 +02:00
|
|
|
cl $(CFLAGS) /I.. /Dsnprintf=g_snprintf lua.c
|
2010-08-12 02:56:10 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
del *.obj
|
|
|
|
del *.dll
|
|
|
|
del *.exp
|
|
|
|
del *.lib
|