diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-08-12 02:56:10 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2010-08-12 02:56:10 +0200 |
commit | 25603820c1fd7c12bbcaec98a36ad6dd8162b497 (patch) | |
tree | dc4776db991379dc0c6f3369cfffdffa3e49063c /plugins/lua/makefile.mak | |
parent | 9bff6d9d861736a4a6b4747454556ebb80d479bf (diff) |
add support for xchat-lua, but don't build by default
Diffstat (limited to 'plugins/lua/makefile.mak')
-rw-r--r-- | plugins/lua/makefile.mak | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/lua/makefile.mak b/plugins/lua/makefile.mak new file mode 100644 index 00000000..a63eebe2 --- /dev/null +++ b/plugins/lua/makefile.mak @@ -0,0 +1,19 @@ +include "..\..\src\makeinc.mak" + +xclua.dll: lua.obj lua.def + link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll /LIBPATH:$(LUAPATH)\lib $(LUALIB).lib /def:lua.def lua.obj + 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 + cl $(CFLAGS) /Dsnprintf=g_snprintf /I.. /I$(LUAPATH)\include /I.. lua.c + +clean: + del *.obj + del *.dll + del *.exp + del *.lib |