mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-14 07:02:42 +01:00
19 lines
427 B
Makefile
19 lines
427 B
Makefile
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
|