summary refs log tree commit diff stats
path: root/plugins/xdcc/makefile.mak
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/xdcc/makefile.mak')
-rw-r--r--plugins/xdcc/makefile.mak18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/xdcc/makefile.mak b/plugins/xdcc/makefile.mak
new file mode 100644
index 00000000..0a12347e
--- /dev/null
+++ b/plugins/xdcc/makefile.mak
@@ -0,0 +1,18 @@
+include "..\..\src\makeinc.mak"

+

+all: xdcc.obj xdcc.def

+	link $(LDFLAGS) $(LIBS) /dll /out:xcxdcc.dll /def:xdcc.def xdcc.obj

+

+xdcc.def:

+	echo EXPORTS > xdcc.def

+	echo xchat_plugin_init >> xdcc.def

+	echo xchat_plugin_deinit >> xdcc.def

+

+xdcc.obj: xdcc.c makefile.mak

+	cl $(CFLAGS) $(GLIB) /I.. xdcc.c

+

+clean:

+	del *.obj

+	del *.dll

+	del *.exp

+	del *.lib