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

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

exec.obj: exec.c makefile.mak
	cl $(CFLAGS) $(GLIB) /I.. exec.c

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