summary refs log tree commit diff stats
path: root/plugins/lua/makefile.mak
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 19:18:32 +0100
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-02-28 19:18:32 +0100
commit6355e6a76e73dfd3b8f49fcec524e7d2bbb5a11c (patch)
tree3f24aeb80bebcc90465b6e723d9fc10aa5e41d61 /plugins/lua/makefile.mak
parentd3330fbe6f3cdcf3cc43550bb61c3393eb7cd794 (diff)
parentdd58a0aa9e29efc87bcdb287b37018c1c6fd132e (diff)
merge with xchat r1490
Diffstat (limited to 'plugins/lua/makefile.mak')
-rw-r--r--plugins/lua/makefile.mak20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/lua/makefile.mak b/plugins/lua/makefile.mak
new file mode 100644
index 00000000..fbc94072
--- /dev/null
+++ b/plugins/lua/makefile.mak
@@ -0,0 +1,20 @@
+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