summary refs log tree commit diff stats
path: root/plugins/upd/makefile.mak
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-09-06 12:43:59 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-09-06 12:43:59 +0200
commitc6efd7f622476ee2a954eaa7f78986b48c3efd17 (patch)
treef854a84bf425a000ae442c6f2a175b10ae7a82df /plugins/upd/makefile.mak
parent4979f9283661eb1ec74c53f5b0672b8181e91b4c (diff)
add updater plugin
Diffstat (limited to 'plugins/upd/makefile.mak')
-rw-r--r--plugins/upd/makefile.mak18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/upd/makefile.mak b/plugins/upd/makefile.mak
new file mode 100644
index 00000000..63a9ace4
--- /dev/null
+++ b/plugins/upd/makefile.mak
@@ -0,0 +1,18 @@
+include "..\..\src\makeinc.mak"

+

+all: upd.obj upd.def

+	link $(LDFLAGS) $(LIBS) /dll /out:xcupd.dll /def:upd.def upd.obj

+

+upd.def:

+	echo EXPORTS > upd.def

+	echo xchat_plugin_init >> upd.def

+	echo xchat_plugin_deinit >> upd.def

+

+upd.obj: upd.c makefile.mak

+	cl $(CFLAGS) $(GLIB) upd.c

+

+clean:

+	del *.obj

+	del *.dll

+	del *.exp

+	del *.lib