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

+

+all: winsys.obj winsys.def

+	link $(LDFLAGS) $(LIBS) /NODEFAULTLIB:comsupp.lib wbemuuid.lib vccomsup.lib /dll /out:xcwinsys.dll /def:winsys.def winsys.obj

+

+winsys.def:

+	echo EXPORTS > winsys.def

+	echo xchat_plugin_init >> winsys.def

+	echo xchat_plugin_deinit >> winsys.def

+

+winsys.obj: winsys.cpp makefile.mak

+	cl $(CFLAGS) $(GLIB) /DUNICODE /D_UNICODE /Zc:wchar_t- /I.. winsys.cpp

+

+clean:

+	del *.obj

+	del *.dll

+	del *.exp

+	del *.lib