summary refs log tree commit diff stats
path: root/plugins/xdcc/makefile.mak
blob: 280d8d84328c33dfd94fd4ddf4ce236058e08196 (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: 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) xdcc.c

clean:
	del *.obj
	del *.dll
	del *.exp
	del *.lib