summary refs log tree commit diff stats
path: root/plugins/upd/makefile.mak
blob: 63a9ace437217aa185a9d9ef3fd45a9f2c78d82e (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: upd.obj upd.def
	link $(LDFLAGS) $(LIBS) /dll /out:xcupd.dll /def:upd.def upd.obj

upd.def:
	echo EXPORTS > upd.def
	echo xchat_plugin_init >> upd.def
	echo xchat_plugin_deinit >> upd.def

upd.obj: upd.c makefile.mak
	cl $(CFLAGS) $(GLIB) upd.c

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