mirror of
https://github.com/hexchat/hexchat.git
synced 2024-11-06 19:22:39 +01:00
23 lines
551 B
Makefile
23 lines
551 B
Makefile
include "..\..\src\makeinc.mak"
|
|
|
|
TARGET = $(TCLOUTPUT)
|
|
|
|
all: $(TARGET)
|
|
|
|
tcl.def:
|
|
echo EXPORTS > tcl.def
|
|
echo xchat_plugin_init >> tcl.def
|
|
echo xchat_plugin_deinit >> tcl.def
|
|
echo xchat_plugin_get_info >> tcl.def
|
|
|
|
tclplugin.obj: tclplugin.c
|
|
$(CC) $(CFLAGS) /I.. tclplugin.c /I$(TCLPATH)\include /DTCL_DLL=\"$(TCLLIB).dll\"
|
|
|
|
$(TARGET): tclplugin.obj tcl.def
|
|
$(LINK) /dll /out:$(TARGET) $(LDFLAGS) tclplugin.obj /libpath:$(TCLPATH)\lib $(TCLLIB).lib /delayload:$(TCLLIB).dll delayimp.lib /def:tcl.def
|
|
|
|
clean:
|
|
del $(TARGET)
|
|
del *.obj
|
|
del tcl.def
|