1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-15 05:45:00 -05:00
hexchat/plugins/lua/makefile.mak

21 lines
443 B
Makefile
Raw Normal View History

2011-02-28 12:59:32 -05:00
include "..\..\src\makeinc.mak"
DIRENTLIB = ..\..\src\common\dirent.lib
all: lua.obj lua.def
link $(LDFLAGS) $(LIBS) /dll /out:xclua.dll $(LUALIB).lib $(DIRENTLIB) /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) /I.. /Dsnprintf=g_snprintf lua.c
clean:
del *.obj
del *.dll
del *.exp
del *.lib