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-05-30 22:54:08 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-05-30 22:54:08 +0200
commitbd0728f03b9a3742d50db68ac77f1c4ea042f0a2 (patch)
tree52d4e619cc049b91c89a03865ec9b8b6c4a5b5a4 /plugins/lua/makefile.mak
parent67e3ef79bddff056459914a51bea128ed619c5ed (diff)
parent24ac838543bc99ea8d289925b4c5418107d5ae1f (diff)
Merge with default
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