summary refs log tree commit diff stats
path: root/plugins/xdcc/makefile.mak
blob: 5caeca3480f1e921801260eb18b47430b72ab7d4 (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 hexchat_plugin_init >> xdcc.def
	echo hexchat_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