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

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

ewc.obj: ewc.c makefile.mak
	cl $(CFLAGS) ewc.c

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