summary refs log tree commit diff stats
path: root/plugins/fishlim/makefile.mak
blob: 4d0be66bea24fbc1c43b57eff16706d948eb21c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include "..\..\src\makeinc.mak"

TARGET = xcfishlim.dll

CFLAGS = $(CFLAGS)

FISHLIM_OBJECTS = \
fish.obj \
irc.obj \
keystore.obj \
misc.obj \
plugin_xchat.obj

all: $(FISHLIM_OBJECTS) fishlim.def
	link $(LDFLAGS) $(LIBS) /dll /out:xcfishlim.dll /def:fishlim.def $(FISHLIM_OBJECTS)

fishlim.def:
	echo EXPORTS > fishlim.def
	echo xchat_plugin_init >> fishlim.def
	echo xchat_plugin_deinit >> fishlim.def
	echo xchat_plugin_get_info >> fishlim.def

.c.obj:
	$(CC) $(CFLAGS) $(GLIB) /I.. /c $<

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