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

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

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

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