summary refs log tree commit diff stats
path: root/ext/lua-wdk/build-x64.bat
AgeCommit message (Expand)Author
2010-10-29update wdk distribution to use relative paths where possibleberkeviktor@aol.com
2010-10-08build lua with vc10berkeviktor@aol.com
2010-08-16some heavy restructuring and reform
include "..\..\src\makeinc.mak"

DIRENTLIB = ..\..\src\common\dirent.lib

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