summary refs log blame commit diff stats
path: root/plugins/lua/makefile.mak
blob: 2b9a18ee71bd3237b83c3af94258b34ccaea3fd1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12


                                
                                                                                                            







                                            
                                                                        





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

xclua.dll: lua.obj lua.def
	link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll /LIBPATH:$(LUAPATH) $(LUALIB).lib /def:lua.def lua.obj 
	dir xclua.dll

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.. /I$(LUAPATH) /I.. lua.c

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