summary refs log tree commit diff stats
path: root/plugins/dns/makefile.mak
blob: 384e6be14197fec275ee13f5eb627e0255bf1fb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
include "..\..\src\makeinc.mak"

DNS_OBJECTS = \
dns.obj \
thread.obj

all: $(DNS_OBJECTS) dns.def
	link $(LDFLAGS) $(LIBS) /dll /out:xcdns.dll /def:dns.def $(DNS_OBJECTS)

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

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

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