summary refs log tree commit diff stats
path: root/plugins/upd/makefile.mak
diff options
context:
space:
mode:
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