summary refs log tree commit diff stats
path: root/plugins/lua/makefile.mak
blob: e1ef88224195723b82eab32af46b7bf2b18c1b5a (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: lua.obj lua.def
	link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll /libpath:$(LUAPATH)\lib $(LUALIB).lib /def:lua.def lua.obj 

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

lua.obj: lua.c makefile.mak
	cl $(CFLAGS) /Dsnprintf=g_snprintf /I$(LUAPATH)\include lua.c

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