summary refs log blame commit diff stats
path: root/plugins/dns/makefile.mak
blob: f1dd4c739d88a1660b27cd6fe0b485c5bf7924a2 (plain) (tree)


















                                                                                   
include "..\..\src\makeinc.mak"

xcdns.dll: plugin-dns.obj dns.def
	link $(LDFLAGS) /dll /out:xcdns.dll /def:dns.def plugin-dns.obj ws2_32.lib
	dir xcdns.dll

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

plugin-dns.obj: plugin-dns.c makefile.mak thread.c
	cl $(CFLAGS) /I.. -Dsnprintf=_snprintf plugin-dns.c

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