summary refs log tree commit diff stats
path: root/plugins/checksum/makefile.mak
blob: 9e2aae88d3e9c6c7e31ccd04af2ff3c2c46c53a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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