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

+

+all: checksum.obj checksum.def

+	link $(LDFLAGS) $(LIBS) /dll /out:xcchecksum.dll /libpath:$(LUAPATH)\lib $(LUALIB).lib /def:checksum.def checksum.obj 

+

+checksum.def:

+	echo EXPORTS > checksum.def

+	echo xchat_plugin_init >> checksum.def

+	echo xchat_plugin_deinit >> checksum.def

+

+checksum.obj: checksum.c makefile.mak

+	cl $(CFLAGS) /Dsnprintf=g_snprintf /I$(LUAPATH)\include checksum.c

+

+clean:

+	del *.obj

+	del *.dll

+	del *.exp

+	del *.lib